bot_toast 0.0.1 bot_toast: ^0.0.1 copied to clipboard
bot_toast 是一个完全以flutter方式实现的全局Toast库, BotToast可以在任何地方任何时候使用!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add bot_toast
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
bot_toast: ^0.0.1
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:bot_toast/bot_toast.dart';