text_span_field_plus 1.0.8 text_span_field_plus: ^1.0.8 copied to clipboard
Flutter自定义文本样式输入框,可以让你在TextField中显示不同样式的文本,例如
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add text_span_field_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
text_span_field_plus: ^1.0.8
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:text_span_field_plus/text_span_field_plus.dart';