flutter_status_widget 0.0.7
flutter_status_widget: ^0.0.7 copied to clipboard
状态页管理库(Flutter Widget),支持 Loading/Success/Error/Empty 四种状态切换,提供全局默认页面配置、独立页面覆盖与自定义内容回调功能。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_status_widgetThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_status_widget: ^0.0.7Alternatively, 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:flutter_status_widget/flutter_status_widget.dart';