sm_widget library

Classes

MAlertDialog
MAppBar
MBottomSheet
MButton
MCircleAvatar
MContainer
MCupertinoActionSheet
MCupertinoActionSheetAction
MCupertinoAlertDialog
MCupertinoDialogAction
MCupertinoPopupSurface
MDialog
MElevatedButton
MExpandable
Shows either the expanded or the collapsed child depending on the state. The state is determined by an instance of MExpandableController provided by ScopedModel
MExpandableButton
Toggles the state of MExpandableController when the user clicks on it.
MExpandableController
Controls the state (expanded or collapsed) of one or more Expandable. The controller should be provided to Expandable via MExpandableNotifier.
MExpandableIcon
An down/up arrow icon that toggles the state of MExpandableController when the user clicks on it. The model is accessed via ScopedModelDescendant.
MExpandableNotifier
Makes an MExpandableController available to the widget subtree. Useful for making multiple Expandable widgets synchronized with a single controller.
MExpandablePanel
A configurable widget for showing user-expandable content with an optional expand button.
MExpandableTheme
MExpandableThemeData
MFilledButton
MIconButton
MImage
MImageProvider
MListTile
ModalMBottomSheetRoute<T>
MOutlinedButton
MRefresh
MRichText
MScaffold
MScrollOnExpand
Ensures that the child is visible on the screen by scrolling the outer viewport when the outer MExpandableNotifier delivers a change event.
MText
MTextField
MTextSpan
SMWidgetAppTranslation

Enums

MBoxShape
MButtonIconAlignment
MExpandablePanelBodyAlignment
Determines vertical alignment of the body
MExpandablePanelHeaderAlignment
Determines the alignment of the header relative to the expand icon
MExpandablePanelIconPlacement
Determines the placement of the expand/collapse icon in MExpandablePanel
MExpandableTransition
MTextFieldBorderStyle

Typedefs

MExpandableBuilder = Widget Function(BuildContext context, Widget collapsed, Widget expanded)
MRefreshRequest = void Function(APIPageableLoader loader)