flui_nullsafety library

Classes

FLAppBarTitle
FLAutoComplete<T>
FLAutoCompleteState<T>
FLAvatar
FLBadge
FLBadgeState
FLBubble
FLBubbleMenuItem<T>
FLBubbleMenuWidget<T>
FLBubbleMenuWidgetState<T>
FLCopyableLabel
FLCountStepper<T>
FLCountStepperController
FLCupertinoActionSheet
FLCupertinoOperationSheet
The operation sheet is based on FLCupertinoActionSheet.
FLCupertinoOperationSheetItem
FLDyAction
Action Model
FLDyActionDispatch
FLDyActionType
FLDyContainer
The container interface of dynamic widget
FLDyContainerState
FLDyContainerUnitModel
Container
FLDyFlatButtonUnitModel
RaisedButton
FLDyFrameworkAction
FLDyGestureRecognizer
Gesture Recognizer, (TapGestureRecognizer or LongPressGestureRecognizer)
FLDyIconUnitModel
Icon
FLDyImageUnitModel
Image
FLDyInkWellUnitModel
InkWell
FLDyListTileUnitModel
ListTile
FLDyListViewUnitModel
ListView
FLDyLogger
FLDyNavigatorAction
FLDyRaisedButtonUnitModel
RaisedButton
FLDyRenderParser
FLDyRichTextUnitModel
RichText
FLDySafeAreaUnitModel
SafeArea
FLDySizedBoxUnitModel
SizedBox
FLDyStackUnitModel
StackView
FLDyTextSpanUnitModel
TextSpan
FLDyTextUnitModel
Text
FLDyUnitAlign
Align
FLDyUnitBorder
Border
FLDyUnitBorderRadius
BorderRadius
FLDyUnitBoxConstraints
FLDyUnitBoxDecoration
BoxDecoration
FLDyUnitBoxShadow
BoxShadow
FLDyUnitDecorationImage
DecorationImage
FLDyUnitDivider
Divider
FLDyUnitEdgeInsets
EdgeInsets
FLDyUnitIconData
IconData
FLDyUnitImageProvider
ImageProvider
FLDyUnitModel
The unit model classes are responsible for storing view rendering information, bound events and bound data.
FLDyUnitOffset
Offset
FLDyUnitPositioned
Positioned
FLDyUnitScrollPhysics
ScrollPhysics
FLDyUnitTextStyle
TextStyle
FLEmptyContainer
FLEmptyContainerState
FLFlatButton
FLFloatingCountStepper
In FLFloatingCountStepper, the controller's min value must be 0, so it can hide minus button and value label. FLFloatingCountStepper can't edit input value.
FLGradientButton
FLImage
FLListTile
FLListTile is a component that include ListTile, just handle gesture to change background color.
FLLoadingButton
FLLoadingButtonState
FLMarqueeLabel
FLNoticeBar
FLPersistentHeaderLayoutBuilder
FLPersistentHeaderState
FLPinCodeTextField
FLPrimaryColorOverride
FLSkeleton
FLSliverPersistentHeaderWidget
FLSliverPersistentHeaderWidgetBuilder
FLSliverPersistentHeaderWidgetElement
FLStaticItemData
FLStaticListView
FLStaticSectionData
FLThemeColors
FLThemeData
FLThemeTextStyles
FLThemeTool
FLToast
FLToastDefaults
FLToastProvider

Extensions

ThemeFluiExt

Functions

debugJsonAndType(dynamic jsonObj) bool
showBubbleMenu<T>({required BuildContext context, required RelativeRect position, required List<FLBubbleMenuItem<T>> items, String? semanticLabel}) Future<T?>
showFLBottomSheet<T>({required BuildContext context, required WidgetBuilder builder}) Future<T?>
Don't use showCupertinoModalPopup, in iOS it will blur the content, related issue: https://bugs.chromium.org/p/skia/issues/detail?id=7898

Typedefs

CustomButtonRender = Widget Function(Function callMethod)
自定义渲染组件 callMethod - 点击回调事件
DoChangeInterceptor = bool Function(int value, CountStepperActionType actionType)
是否执行数量更改,数量拦截器,当返回false的时候,则不执行数量修改,true则执行数量更改 当返回false的时候,不会进入onChanged回调 value - 将要修改的数量 actionType - 操作类型,有三种 CountStepperActionType ,加,减,自定义输入
FLAutoCompleteItemBuilder<T> = Widget Function(BuildContext context, T suggestion)
FLBubbleMenuCancelled = void Function()
FLBubbleMenuItemBuilder<T> = List<FLBubbleMenuItem<T>> Function(BuildContext context)
FLBubbleMenuItemSelected<T> = void Function(T value)
FLDyActionHandler = dynamic Function(BuildContext context, String? uniqueId, List<String>? args)
FLNoticeBarItemBuilder = Widget Function(BuildContext context)
FLPersistentHeaderLayoutWidgetBuilder = Widget Function(BuildContext context, FLPersistentHeaderConstraints constraints)
FLSliverPersistentHeaderBuilder = Widget Function(BuildContext context, FLPersistentHeaderState state)
FLToastContentBuilder = Widget Function(BuildContext context)
FocusNodeEvent = void Function(bool isRemove, FocusNode focusNode)
FocusNode的添加和删除的回调事件
FocusNodeHandle = void Function(bool hasFocus, int value, FocusNode focusNode, TextEditingController controller)
焦点回调 hasFocus - 是否存在焦点 value - 编辑框里面当前的值
InputWidgetWrapper = Widget Function(Widget inputWidget)
ValueChangeHandle = void Function(int value, TextEditingController controller)
值改变回调