components/src/base
library
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
-
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?>
-