components/export library
Classes
- Base64Image
- BaseActionSheet
- BaseActionSheetAction
- BaseAlertDialog
- BaseAnimationImage
- BaseAnimationNumberText
- 数字滚动效果
- BaseApp
- BaseAppBar
- BaseBackgroundButton
- BaseBannerView
- BaseBlurFilter
- BaseButton
- BaseCustomAlertDialog
- BaseCycleView
- BaseDialogAction
- BaseDivider
- BaseExampleView
- BaseExampleWrap
- BaseExpandedViewport
- BaseGeneralAlertDialog
- BaseGradientButton
- BaseInkWell
- BaseKeyValue
- BaseLifeCycleController
- BaseLoadingView
- BaseOutlineButton
- BasePlaceholderView
- BasePopScope
- BaseProgressBar
- 进度条
- BaseRefresh
-
BaseRefreshStateController<
T> - BaseScaffold
- BaseSegmentBar
- BaseShimmer
- BaseSliverAppBar
- BaseSliverExpanded
- BaseSliverPersistentHeaderDelegate
- e.g.
-
BaseStateController<
T> - BaseTabPage
- BaseTagListView
- BaseTextField
- BaseWebImage
-
PlatformWidget<
M extends Widget, C extends Widget>
Extensions
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, 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
-
BaseComputeResult<
T> = void Function(T state, RxStatus status) -
BaseStateMixin<
T> = StateMixin< T>