trionesdev_antd_mobile library
Classes
- ActionItem
- Ant
- AntAccentColor
- AntActionSheet
- @component ActionSheet 动作面板
- AntActionSheetItemStruct
- AntActionSheetView
- AntAlert
- @component Alert 警告提示
- AntApp
- @component App 应用
- AntAppBar
- @component AppBar 顶部导航栏
- AntAppBarBottom
- AntAppBarThemeData
- AntAvatar
- AntBadge
- @component Badge 徽标
- AntBreadcrumb
- @component Breadcrumb 面包屑
- AntBreadcrumbItemStruct
- AntButton
- @component Button 按钮
- AntCalendar
- @component Calendar 日历
- AntCalendarDatetimePicker
- @component CalendarDatetimePicker 日历时间选择器
- AntCalendarPicker
- AntCalendarPickerView
- AntCalendarRange
- @component CalendarRange 日历范围
- AntCalendarRangePicker
- AntCalendarRangePickerView
- AntCalendarRangeState
- AntCalendarState
- AntCard
- @component AntCard 卡片
- AntCardStyles
- AntCascaderPicker
- AntCascaderPickerOption
- AntCell
- @component AntCell 单元格
- AntCellGroup
- @component AntCellGroup 单元格组
- AntCellGroupState
- AntCheckbox
- AntCheckboxBaseGroup
- AntCheckboxBaseGroupState
- AntCheckboxGroup
- @component AntCheckboxGroup 多选框组
- AntCol
- AntCollapse
- AntCollapsePanel
- AntCollapsePanelContentStyle
- AntCollapsePanelHeaderStyle
- AntCollapsePanelState
- AntCollapsePanelStyles
- AntCollapseState
- AntColor
- AntColors
- AntDialog
- AntDialogStyle
- AntDivider
- @component AntDivider 分割线
- AntdLocalizations
-
Callers can lookup localized strings with an instance of AntdLocalizations
returned by
AntdLocalizations.of(context). - AntEmpty
- @component AntEmpty 空状态
- AntFieldsNames
-
AntFieldState<
T> - AntForm
- @component AntForm 表单
-
AntFormItem<
T> - @component AntFormItem 表单项
- AntFormList
- @component AntFormList 表单列表
- AntFormListField
- AntFormListOperations
- AntFormListState
- AntFormState
- AntGrid
- @component AntGrid
- AntGridItem
- AntGridState
- AntIconData
- AntIcons
- AntImage
- @component AntImage 图片
- AntImagesWall
- @component AntImagesWall 图片墙
- AntImagesWallItemStruct
- AntImageWallItem
- AntInput
- @component AntInput 输入框
- AntInputNumber
- @component AntInputNumber 数字输入框
-
AntList<
T> - AntListItem
- AntMask
- AntModal
- AntOption
-
AntPage<
T> - A page that creates a material style PageRoute.
-
AntPageRoute<
T> - AntPicker
- AntPickerOption
- AntPopup
- AntProcess
- AntRadio
- AntRadioBase
- AntRadioBaseGroup
- AntRadioBaseGroupState
- AntRadioButton
- AntRadioButtonGroup
- AntRadioButtonStyle
- AntRadioGroup
- AntRate
- AntScaffold
- AntScaffoldMessenger
- AntScaffoldMessengerState
- AntSearchBar
- AntSearchBarStyles
- AntSelect
- @component AntSelect 列表选择器
- AntSelectState
- AntSpace
- @component AntSpace 间距
- AntSpinLoading
- @component AntSpinLoading
- AntSwitch
- AntTab
- AntTabBar
- @component AntTabBar
- AntTabBarItem
- AntTabBarItemState
- AntTabBarState
- AntTabItemStruct
- AntTabs
- @component AntTabs 标签栏
- AntTabsState
- AntTabState
- AntTabStyles
- AntTag
- AntTextArea
- AntTheme
- AntThemeData
- AntTimeline
- AntTimelineCirclePainter
- AntTimelineCirclePoint
- AntTimelineDashLinePainter
- AntTimelineItem
- AntTimelineItemStruct
- AntTimelineSolidLinePainter
- AntToast
-
AntToastRoute<
T> - AntUpload
- AntVerificationCodeInput
- @component VerificationCodeInput 验证码输入框
- DatetimeUtils
-
Field<
T> -
InternalFormItem<
T> -
InternalFormItemState<
T> - MapUtils
- NamePath
- SelectPanel
- SelectPanelState
- StateStyle
- Style
- StyleBorder
- StyleMargin
- StylePadding
- WidgetUtils
Enums
- AntAlertType
- AntAvatarShape
- AntButtonColor
- AntButtonShape
- AntButtonType
- AntButtonVariant
- AntContentPosition
- AntDialogType
- AntDividerDirection
- AntFormLabelVerticalAlign
- AntFormLayout
- AntImageStatus
- AntImageType
- AntInputType
- AntLabelAlign
- AntLayout
- AntPercentPositionAlign
- AntPercentPositionType
- AntProcessStatus
- AntProcessType
- AntRadioLayout
- AntRadioSize
- AntSelectMode
- AntSelectPickerMode
- AntSize
- AntSpaceDirection
- AntStrokeLineCap
- AntSwitchSize
- AntTagType
- AntThemeMode
- AntTimelineItemLineType
- AntToastPosition
Mixins
-
AntRouteTransitionMixin<
T> -
RadioStateMixin<
T extends AntRadioBase>
Constants
- kThemeAnimationDuration → const Duration
Functions
-
lookupAntdLocalizations(
Locale locale) → AntdLocalizations -
showAntAlertDialog<
T> ({required BuildContext context, double? maxWidth, Widget? content, Function? onConfirm, bool? closeOnMaskClick = false, String? confirmText}) → Future< T?> - 显示对话框
-
showAntAlertModal<
T> ({required BuildContext context, StateStyle? style, bool? closeOnMaskClick = false, String? title, Widget? content, String? confirmText, Function? onConfirm, bool? showCloseButton}) → Future< T?> -
showAntCalendarDatetimePicker<
T> ({required BuildContext context, DateTime? value, ValueChanged< DateTime?> ? onOk}) → Future<T?> -
showAntCalendarPicker<
T> ({required BuildContext context, DateTime? value, ValueChanged< DateTime?> ? onOk}) → Future<T?> - 显示日历选择器
-
showAntCalendarRangePicker<
T> ({required BuildContext context, List< DateTime> ? value, ValueChanged<List< ? onOk}) → Future<DateTime?> ?>T?> - 显示日历区间选择器
-
showAntCascaderPicker<
T> ({required BuildContext context, double? minHeight, double? maxHeight, double? itemHeight = 34, List< AntCascaderPickerOption> ? options, List<String> ? value, ValueChanged<List< ? onOk, Function? onCancel}) → Future<AntCascaderPickerOption?> ?>T?> - 显示级联选择器
-
showAntConfirmDialog<
T> ({required BuildContext context, double? maxWidth, Widget? content, Function? onConfirm, Function? onCancel, bool? closeOnMaskClick = false, String? cancelText, String? confirmText}) → Future< T?> - 显示确认对话框
-
showAntConfirmModal<
T> ({required BuildContext context, StateStyle? style, bool? closeOnMaskClick = false, String? title, Widget? content, String? cancelText, String? confirmText, Function? onConfirm, Function? onCancel, bool? showCloseButton}) → Future< T?> - 显示确认模态框
-
showAntMask<
T> ({required BuildContext context, Widget? child, Function? onMaskClick, bool? clickMaskClose = false}) → Future< T?> -
showAntModal<
T> ({required BuildContext context, StateStyle? style, bool? closeOnMaskClick = false, String? title, Widget? header, Widget? content, bool? showCloseButton, List< Widget> ? actions, bool? closeOnAction = false}) → Future<T?> - 显示模态框
-
showAntPopup<
T> ({required BuildContext context, Color? color = Colors.white, double? minHeight = 300, double? maxHeight, bool? isScrollControlled = true, bool? enableDrag = false, Widget? child}) → Future< T?> -
showAntToast<
T> ({required BuildContext context, Widget? content, Icon? icon, AntToastPosition? position, int? duration = 2000, Function? afterClose}) → Future< T?> - 显示轻提示
-
showMultiPicker<
T> ({required BuildContext context, double? minHeight, double? maxHeight, Widget? title, List< List< ? options, List<AntPickerOption> >String> ? value, ValueChanged<List< ? onOk, Function? onCancel, void onColumnSelected(AntPickerOption? value, int index)?, double? itemHeight = 34, bool? isScrollControlled = false}) → Future<AntPickerOption?> >T?> -
showPicker<
T> ({required BuildContext context, double? minHeight, double? maxHeight, Widget? title, List< AntPickerOption> ? options, String? value, ValueChanged<AntPickerOption?> ? onOk, Function? onCancel, double? itemHeight = 34, bool? isScrollControlled = false}) → Future<T?> -
toMaterialThemeMode(
AntThemeMode value) → ThemeMode
Typedefs
- AddFunction = void Function(dynamic defalutValue)
-
AntFormListBuilder
= Widget Function(BuildContext context, List<
AntFormListField> fields, AntFormListOperations operations) -
AntListItemBuilder<
T> = Widget Function(BuildContext context, T item, int index)? - AntSelectOptionBuilder = Widget Function(BuildContext context, dynamic item, int index, bool selected)
- AntSelectValueChanged = void Function(dynamic value, dynamic option)
- Format = String Function(double percent)
-
FormItemBuilder<
T> = Widget Function(AntFieldState< T> field) -
FormItemSetter<
T> = void Function(T? newValue) -
FormItemValidator<
T> = String? Function(T? value) - RemoveFunction = void Function(int index)