components/src/base library
Classes
- BaseActionSheet
- BaseActionSheetAction
- BaseAlertDialog
- BaseApp
- BaseAppBar
- BaseBackgroundButton
- BaseBlurFilter
- BaseButton
- BaseCustomAlertDialog
- BaseDialogAction
- BaseDivider
- BaseGeneralAlertDialog
- BaseGradientButton
- BaseInkWell
- BaseKeyValue
- BaseOutlineButton
- BasePopScope
- BaseScaffold
- BaseSliverAppBar
- BaseTextField
-
PlatformWidget<
M extends Widget, C extends Widget>
Properties
- baseDefaultGeneralAlertDialogTitle ↔ Widget
-
getter/setter pair
- baseDefaultTextScale ↔ TextScaler?
-
TextScaler.linear(1.adaptRatio),
getter/setter pair
- initAppBarLeading ↔ dynamic
-
默认返回按钮的样式
initAppBarLeading = Icons.arrow_back;
or
initAppBarLeading = assetsImagesPath("icon_arrow_back");
getter/setter pair
Functions
-
initEasyApp(
{bool? showOnError, VoidCallback? appBaseURLChangedCallback, ValueChanged< String> ? customExceptionReport, bool logPermanent = false}) → 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, 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 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
- BaseAlignedGridView = AlignedGridView
- BaseEasyLoading = EasyLoading
- BaseEasyLoadingAnimationStyle = EasyLoadingAnimationStyle
- BaseEasyLoadingIndicatorType = EasyLoadingIndicatorType
- BaseEasyLoadingMaskType = EasyLoadingMaskType
- BaseEasyLoadingPosition = EasyLoadingToastPosition
- BaseEasyLoadingStatus = EasyLoadingStatus
- BaseEasyLoadingStyle = EasyLoadingStyle
- BaseMasonryGridView = MasonryGridView
- BaseOverlayVisibilityMode = OverlayVisibilityMode
- BaseSliverAlignedGrid = SliverAlignedGrid
- BaseSliverMasonryGrid = SliverMasonryGrid
- BaseSliverSimpleGridDelegateWithFixedCrossAxisCount = SliverSimpleGridDelegateWithFixedCrossAxisCount
- BaseSliverSimpleGridDelegateWithMaxCrossAxisExtent = SliverSimpleGridDelegateWithMaxCrossAxisExtent
- BaseStaggeredGridTile = StaggeredGridTile