rich_text_widget 0.1.8 rich_text_widget: ^0.1.8 copied to clipboard
该库属于富文本组件,补充了Flutter富文本只能拼接组件的功能,该库应用于国际化文本非常便利,不用拆分字符串.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rich_text_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rich_text_widget: ^0.1.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:rich_text_widget/rich_text_widget.dart';