dedztbh / flutter_text_placeholder

Add placeholder to the Text widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

text_placeholder

Add placeholder to the Text widget

Getting Started

import 'package:flutter/material.dart' hide Text;
import 'package:text_placeholder/text_placeholder.dart';

//...

final text1 = Text("magic", placeholder: "", style: TextStyle(), placeholderStyle: TextStyle());

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

About

Add placeholder to the Text widget

License:MIT License


Languages

Language:Dart 100.0%