components/export library

Extensions

CountResult on Result

Properties

baseDefaultAnimationImage Widget?
getter/setter pair
baseDefaultGeneralAlertDialogTitle Widget
getter/setter pair
baseDefaultShimmerBaseColor Color?
getter/setter pair
baseDefaultShimmerHighlightColor Color?
getter/setter pair
baseDefaultTextScale TextScaler?
TextScaler.linear(1.adaptRatio),
getter/setter pair
baseWebImageDefaultErrorPlaceholder Widget
getter/setter pair
baseWebImageDefaultPlaceholderColor Color?
getter/setter pair
baseWebImageDefaultTimeLimit Duration?
getter/setter pair
baseWebImageHandleLoadingProgress bool
getter/setter pair
initAppBarLeading ↔ dynamic
默认返回按钮的样式 initAppBarLeading = Icons.arrow_back; or initAppBarLeading = assetsImagesPath("icon_arrow_back");
getter/setter pair
kDefaultWidth → dynamic
final
kPlaceholderImageBottom double
getter/setter pair
kPlaceholderImageEmpty String?
getter/setter pair
kPlaceholderImageRemote String?
网络错误的占位图
getter/setter pair
kPlaceholderImageWidth double
占位图默认宽高
getter/setter pair
kPlaceholderMessageRemote String?
getter/setter pair
kPlaceholderReloadButton Widget?
重试按钮
getter/setter pair
kPlaceholderTitleBottom double
getter/setter pair
kPlaceholderTitleRemote String?
网络错误的提示语
getter/setter pair

Functions

initEasyApp({bool? logToFile, VoidCallback? appBaseURLChangedCallback, void customExceptionReport(Object exception, StackTrace? stackTrace)?, String? singleFileSizeLimit, int? singleFileHourLimit}) Future<void>
可切环境、查看日志 additional arguments: --dart-define=app-debug-flag=true flutter run --release --dart-define=app-debug-flag=true
keepAliveWrapper(Widget child) Widget
showBaseAlert<T>(Widget widget, {bool barrierDismissible = true, Color? barrierColor, bool useSafeArea = true, GlobalKey<NavigatorState>? navigatorKey, Object? arguments, Duration? transitionDuration, Curve? transitionCurve, String? name, RouteSettings? routeSettings}) Future<T?>
showBaseBottomSheet<T>(Widget bottomSheet, {Color? backgroundColor, double? elevation, bool persistent = true, ShapeBorder? shape, Clip? clipBehavior, Color? barrierColor = kCupertinoModalBarrierColor, bool? ignoreSafeArea, bool isScrollControlled = false, bool useRootNavigator = false, bool isDismissible = true, bool enableDrag = true, RouteSettings? settings, Duration? enterBottomSheetDuration, Duration? exitBottomSheetDuration}) Future<T?>
showBaseDialog<T>({required BuildContext context, Color? barrierColor = Colors.black54, bool barrierDismissible = false, bool useSafeArea = true, required WidgetBuilder builder}) Future<T?>
只针对BaseGeneralAlertDialog设置barrierDismissible有效
showBaseModalBottomSheet<T>({required BuildContext context, required WidgetBuilder builder, bool barrierDismissible = false}) Future<T?>

Typedefs

BaseComputeResult<T> = void Function(T state, RxStatus status)
BaseStateMixin<T> = StateMixin<T>