custom_text_field 0.0.3 custom_text_field: ^0.0.3 copied to clipboard
Beginners often face problem using text field in flutter and giving height and width to text field with leading and trailing icons.Problems moslty occurs when we use text field in rows, columns and Si [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_text_field
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
custom_text_field: ^0.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:custom_text_field/custom_text_field.dart';