my_string_util 0.1.2 my_string_util: ^0.1.2 copied to clipboard
String Util; number sort(1,2,11,22,111)、chinese pinyin sort/中文拼音排序
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add my_string_util
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
my_string_util: ^0.1.2
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:my_string_util/my_string_util.dart';