components/export library

Mixins

BaseTabState<T>

Extensions

BaseStateExt on StateMixin<T>

Properties

baseDefaultAnimationImage Widget?
getter/setter pair
baseDefaultGeneralAlertDialogTitle Widget
getter/setter pair
baseDefaultRefreshFooter ↔ Footer
统一上拉加载
getter/setter pair
baseDefaultRefreshFooterNoMoreText String
getter/setter pair
baseDefaultRefreshHeader ↔ Header
统一下拉刷新
getter/setter pair
initAppBarLeading ↔ dynamic
默认返回按钮的样式 initAppBarLeading = Icons.arrow_back; or initAppBarLeading = assetsImagesPath("icon_arrow_back");
getter/setter pair

Functions

baseRefreshFooter({bool enableInfiniteLoad = true, bool enableHapticFeedback = true, String loadText = '上拉加载更多', String loadReadyText = '释放加载', String loadingText = '正在加载', String loadedText = '加载完成', String loadFailedText = '加载失败', String? noMoreText, String infoText = '更新于 %T', Color textColor = colorWithHex3, Color infoColor = colorWithHex6}) → Footer
统一上拉加载
initEasyApp({VoidCallback? appBaseURLChangedCallback}) Future<void>
可切环境、查看日志 additional arguments: --dart-define=app-debug-flag=true flutter run --release --dart-define=app-debug-flag=true
keepAliveWrapper(Widget child) Widget
showBaseDialog<T>({required BuildContext context, bool barrierDismissible = false, required WidgetBuilder builder}) Future<T?>
只针对BaseGeneralAlertDialog设置barrierDismissible有效
showBaseModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder}) Future<T?>

Typedefs

ComputeResult<T> = void Function(T state, RxStatus status)