material
library
Classes
AboutListTileModifier
A ListTile that shows an about box.
AbsorbPointerModifier
A widget that absorbs pointers during hit testing.
ActionListenerModifier
A helper widget for making sure that listeners on an action are removed properly.
ActionsModifier
A widget that establishes an ActionDispatcher and a map of Intent to
Action to be used by its descendants when invoking an Action .
AlignModifier
A widget that aligns its child within itself and optionally sizes itself
based on the child's size.
AlignTransitionModifier
Animated version of an Align that animates its Align.alignment property.
AnimatedAlignModifier
Animated version of Align which automatically transitions the child's
position over a given duration whenever the given alignment changes.
AnimatedBuilderModifier
A general-purpose widget for building animations.
AnimatedContainerModifier
Animated version of Container that gradually changes its values over a period of time.
AnimatedDefaultTextStyleModifier
Animated version of DefaultTextStyle which automatically transitions the
default text style (the text style to apply to descendant Text widgets
without explicit style) over a given duration whenever the given style
changes.
AnimatedFractionallySizedBoxModifier
Animated version of FractionallySizedBox which automatically transitions the
child's size over a given duration whenever the given widthFactor or
heightFactor changes, as well as the position whenever the given alignment
changes.
AnimatedOpacityModifier
Animated version of Opacity which automatically transitions the child's
opacity over a given duration whenever the given opacity changes.
AnimatedPaddingModifier
Animated version of Padding which automatically transitions the
indentation over a given duration whenever the given inset changes.
AnimatedPhysicalModelModifier
Animated version of PhysicalModel .
AnimatedPositionedDirectionalModifier
Animated version of PositionedDirectional which automatically transitions
the child's position over a given duration whenever the given position
changes.
AnimatedPositionedModifier
Animated version of Positioned which automatically transitions the child's
position over a given duration whenever the given position changes.
AnimatedRotationModifier
Animated version of Transform.rotate which automatically transitions the child's
rotation over a given duration whenever the given rotation changes.
AnimatedScaleModifier
Animated version of Transform.scale which automatically transitions the child's
scale over a given duration whenever the given scale changes.
AnimatedSizeModifier
Animated widget that automatically transitions its size over a given
duration whenever the given child's size changes.
AnimatedSlideModifier
Widget which automatically transitions the child's
offset relative to its normal position whenever the given offset changes.
AnimatedSwitcherModifier
A widget that by default does a cross-fade between a new widget and the
widget previously set on the AnimatedSwitcher as a child.
AnimatedThemeModifier
Animated version of Theme which automatically transitions the colors,
etc, over a given duration whenever the given theme changes.
AnnotatedRegionModifier <T extends Object >
Annotates a region of the layer tree with a value.
AspectRatioModifier
A widget that attempts to size the child to a specific aspect ratio.
AutocompleteHighlightedOptionModifier
An inherited widget used to indicate which autocomplete option should be
highlighted for keyboard navigation.
AutofillGroupModifier
An AutofillScope widget that groups AutofillClient s together.
AutomaticKeepAliveModifier
Allows subtrees to request to be kept alive in lazy lists.
BackButtonListenerModifier
A convenience widget that registers a callback for when the back button is pressed.
BackdropFilterModifier
A widget that applies a filter to the existing painted content and then
paints child
.
BannerModifier
Displays a diagonal message above the corner of another widget.
BaselineModifier
A widget that positions its child according to the child's baseline.
BlockSemanticsModifier
A widget that drops the semantics of all widget that were painted before it
in the same semantic container.
BottomAppBarModifier
A container that is typically used with Scaffold.bottomNavigationBar , and
can have a notch along the top that makes room for an overlapping
FloatingActionButton .
BottomNavigationBarThemeModifier
Applies a bottom navigation bar theme to descendant BottomNavigationBar
widgets.
BottomSheetModifier
A Material Design bottom sheet.
BuilderModifier
A stateless utility widget whose build method uses its
builder callback to create the widget's child.
ButtonBarThemeModifier
Applies a button bar theme to descendant ButtonBar widgets.
ButtonStyleButtonModifier
The base StatefulWidget class for buttons whose style is defined by a ButtonStyle object.
ButtonThemeModifier
Used with ButtonThemeData to configure the color and geometry of buttons.
CardModifier
A Material Design card: a panel with slightly rounded corners and an
elevation shadow.
CenterModifier
A widget that centers its child within itself.
CheckboxThemeModifier
Applies a checkbox theme to descendant Checkbox widgets.
CheckedModeBannerModifier
Displays a Banner saying "DEBUG" when running in debug mode.
MaterialApp builds one of these by default.
An item with a checkmark in a Material Design popup menu.
ChipThemeModifier
Applies a chip theme to descendant RawChip -based widgets, like Chip ,
InputChip , ChoiceChip , FilterChip , and ActionChip .
ClipOvalModifier
A widget that clips its child using an oval.
ClipPathModifier
A widget that clips its child using a path.
ClipRectModifier
A widget that clips its child using a rectangle.
ClipRRectModifier
A widget that clips its child using a rounded rectangle.
ColoredBoxModifier
A widget that paints its area with a specified Color and then draws its
child on top of that color.
ColorFilteredModifier
Applies a ColorFilter to its child.
CompositedTransformFollowerModifier
A widget that follows a CompositedTransformTarget .
CompositedTransformTargetModifier
A widget that can be targeted by a CompositedTransformFollower .
ConstrainedBoxModifier
A widget that imposes additional constraints on its child.
ConstraintsTransformBoxModifier
A container widget that applies an arbitrary transform to its constraints,
and sizes its child using the resulting BoxConstraints , treating any
overflow as error.
ContainerModifier
A convenience widget that combines common painting, positioning, and sizing
widgets.
CustomPaintModifier
A widget that provides a canvas on which to draw during the paint phase.
CustomSingleChildLayoutModifier
A widget that defers the layout of its single child to a delegate.
DataTableThemeModifier
Applies a data table theme to descendant DataTable widgets.
DecoratedBoxModifier
A widget that paints a Decoration either before or after its child paints.
DecoratedBoxTransitionModifier
Animated version of a DecoratedBox that animates the different properties
of its Decoration .
DefaultSelectionStyleModifier
The selection style to apply to descendant EditableText widgets which
don't have an explicit style.
DefaultTabControllerModifier
The TabController for descendant widgets that don't specify one
explicitly.
DefaultTextEditingShortcutsModifier
A widget with the shortcuts used for the default text editing behavior.
DefaultTextHeightBehaviorModifier
The TextHeightBehavior that will apply to descendant Text and EditableText
widgets which have not explicitly set Text.textHeightBehavior .
DefaultTextStyleModifier
The text style to apply to descendant Text widgets which don't have an
explicit style.
DefaultTextStyleTransitionModifier
Animated version of a DefaultTextStyle that animates the different properties
of its TextStyle .
DialogModifier
A Material Design dialog.
DirectionalityModifier
A widget that determines the ambient directionality of text and
text-direction-sensitive render objects.
DismissibleModifier
A widget that can be dismissed by dragging in the indicated direction .
DisplayFeatureSubScreenModifier
Positions child
such that it avoids overlapping any DisplayFeature that
splits the screen into sub-screens.
DividerThemeModifier
An inherited widget that defines the configuration for
Divider s, VerticalDivider s, dividers between ListTile s, and dividers
between rows in DataTable s in this widget's subtree.
DraggableModifier <T extends Object >
A widget that can be dragged from to a DragTarget .
DraggableScrollableActuatorModifier
A widget that can notify a descendent DraggableScrollableSheet that it
should reset its position to the initial state.
DraggableScrollableSheetModifier
A container for a Scrollable that responds to drag gestures by resizing
the scrollable until a limit is reached, and then scrolling.
DragTargetModifier <T extends Object >
A widget that receives data when a Draggable widget is dropped.
The top-most region of a Material Design drawer. The header's child
widget, if any, is placed inside a Container whose decoration can be
passed as an argument, inset by the given padding .
DrawerModifier
A Material Design panel that slides in horizontally from the edge of a
Scaffold to show navigation links in an application.
DrawerThemeModifier
An inherited widget that defines visual properties for Drawer s in this
widget's subtree.
DropdownButtonHideUnderlineModifier
An inherited widget that causes any descendant DropdownButton
widgets to not include their regular underline.
DualTransitionBuilderModifier
A transition builder that animates its child
based on the
AnimationStatus of the provided animation .
ElevatedButtonModifier
A Material Design "elevated button".
ElevatedButtonThemeModifier
Overrides the default ButtonStyle of its ElevatedButton descendants.
ExcludeFocusTraversalModifier
A widget that controls whether or not the descendants of this widget are
traversable.
ExcludeSemanticsModifier
A widget that drops all the semantics of its descendants.
ExpandedModifier
A widget that expands a child of a Row , Column , or Flex
so that the child fills the available space.
ExpansionTileThemeModifier
Overrides the default ExpansionTileTheme of its ExpansionTile descendants.
FadeTransitionModifier
Animates the opacity of a widget.
FittedBoxModifier
Scales and positions its child within itself according to fit .
FlexibleModifier
A widget that controls how a child of a Row , Column , or Flex flexes.
FloatingActionButtonModifier
A Material Design floating action button.
FocusableActionDetectorModifier
A widget that combines the functionality of Actions , Shortcuts ,
MouseRegion and a Focus widget to create a detector that defines actions
and key bindings, and provides callbacks for handling focus and hover
highlights.
FocusModifier
A widget that manages a FocusNode to allow keyboard focus to be given
to this widget and its descendants.
FocusScopeModifier
A FocusScope is similar to a Focus , but also serves as a scope for its
descendants, restricting focus traversal to the scoped controls.
FocusTraversalGroupModifier
A widget that describes the inherited focus policy for focus traversal for
its descendants, grouping them into a separate traversal group.
FocusTraversalOrderModifier
An inherited widget that describes the order in which its child subtree
should be traversed.
FormFieldModifier <T >
A single form field.
FormModifier
An optional container for grouping together multiple form field widgets
(e.g. TextField widgets).
FractionallySizedBoxModifier
A widget that sizes its child to a fraction of the total available space.
For more details about the layout algorithm, see
RenderFractionallySizedOverflowBox .
FractionalTranslationModifier
Applies a translation transformation before painting its child.
GestureDetectorModifier
A widget that detects gestures.
GridPaperModifier
A widget that draws a rectilinear grid of lines one pixel wide.
GridTileModifier
A tile in a Material Design grid list.
HeroControllerScopeModifier
An inherited widget to host a hero controller.
HeroModeModifier
Enables or disables Hero es in the widget subtree.
HeroModifier
A widget that marks its child as being a candidate for
hero animations .
IconThemeModifier
Controls the default color, opacity, and size of icons in a widget subtree.
IgnorePointerModifier
A widget that is invisible during hit testing.
ImageFilterModifier
Applies an ImageFilter to its child.
IndexedSemanticsModifier
A widget that annotates the child semantics with an index.
InkResponseModifier
An area of a Material that responds to touch. Has a configurable shape and
can be configured to clip splashes that extend outside its bounds or not.
InkWellModifier
A rectangular area of a Material that responds to touch.
InputDecoratorModifier
Defines the appearance of a Material Design text field.
InteractiveViewerModifier
A widget that enables pan and zoom interactions with its child.
IntrinsicHeightModifier
A widget that sizes its child to the child's intrinsic height.
IntrinsicWidthModifier
A widget that sizes its child to the child's maximum intrinsic width.
KeyboardListenerModifier
A widget that calls a callback whenever the user presses or releases a key
on a keyboard.
KeyedSubtreeModifier
A widget that builds its child.
LayoutBuilderModifier
Builds a widget tree that can depend on the parent widget's size.
LayoutIdModifier
Metadata for identifying children in a CustomMultiChildLayout .
LimitedBoxModifier
A box that limits its size only when it's unconstrained.
ListenerModifier
A widget that calls callbacks in response to common pointer events.
ListTileThemeModifier
An inherited widget that defines color and style parameters for ListTile s
in this widget's subtree.
LongPressDraggableModifier <T extends Object >
Makes its child draggable starting from long press.
MaterialBannerThemeModifier
An inherited widget that defines the configuration for
MaterialBanner s in this widget's subtree.
MaterialButtonModifier
A utility class for building Material buttons that depend on the
ambient ButtonTheme and Theme .
MediaQueryModifier
Establishes a subtree in which media queries resolve to the given data.
MergeSemanticsModifier
A widget that merges the semantics of its descendants.
MetaDataModifier
Holds opaque meta data in the render tree.
Modifier
Original idea and source code by @remi_rousselet
MouseRegionModifier
A widget that tracks the movement of mice.
NavigationBarThemeModifier
An inherited widget that defines visual properties for NavigationBar s and
NavigationDestination s in this widget's subtree.
NavigationRailThemeModifier
An inherited widget that defines visual properties for NavigationRail s and
NavigationRailDestination s in this widget's subtree.
NotificationListenerModifier <T extends Notification >
A widget that listens for Notification s bubbling up the tree.
OffstageModifier
A widget that lays the child out as if it was in the tree, but without
painting anything, without making the child available for hit testing, and
without taking any room in the parent.
OpacityModifier
A widget that makes its child partially transparent.
OrientationBuilderModifier
Builds a widget tree that can depend on the parent widget's orientation
(distinct from the device orientation).
OutlinedButtonModifier
A Material Design "Outlined Button"; essentially a TextButton
with an outlined border.
OutlinedButtonThemeModifier
Overrides the default ButtonStyle of its OutlinedButton descendants.
OverflowBoxModifier
A widget that imposes different constraints on its child than it gets
from its parent, possibly allowing the child to overflow the parent.
PaddingModifier
A widget that insets its child by the given padding.
PageStorageModifier
Establish a subtree in which widgets can opt into persisting states after
being destroyed.
PhysicalModelModifier
A widget representing a physical layer that clips its children to a shape.
PhysicalShapeModifier
A widget representing a physical layer that clips its children to a path.
PlaceholderModifier
A widget that draws a box that represents where other widgets will one day
be added.
A menu bar that uses the platform's native APIs to construct and render a
menu described by a PlatformMenu /PlatformMenuItem hierarchy.
Displays a menu when pressed and calls onSelected when the menu is dismissed
because an item was selected. The value passed to onSelected is the value of
the selected menu item.
An item in a Material Design popup menu.
An inherited widget that defines the configuration for
popup menus in this widget's subtree.
PositionedDirectionalModifier
A widget that controls where a child of a Stack is positioned without
committing to a specific TextDirection .
PositionedModifier
A widget that controls where a child of a Stack is positioned.
PositionedTransitionModifier
Animated version of Positioned which takes a specific
Animation<RelativeRect> to transition the child's position from a start
position to an end position over the lifetime of the animation.
PreferredSizeModifier
A widget with a preferred size.
PrimaryScrollControllerModifier
Associates a ScrollController with a subtree.
ProgressIndicatorThemeModifier
An inherited widget that defines the configuration for
ProgressIndicator s in this widget's subtree.
RadioThemeModifier
Applies a radio theme to descendant Radio widgets.
RawGestureDetectorModifier
A widget that detects gestures described by the given gesture
factories.
RawKeyboardListenerModifier
A widget that calls a callback whenever the user presses or releases a key
on a keyboard.
RawMaterialButtonModifier
Creates a button based on Semantics , Material , and InkWell
widgets.
RawScrollbarModifier
An extendable base class for building scrollbars that fade in and out.
RefreshIndicatorModifier
A widget that supports the Material "swipe to refresh" idiom.
RelativePositionedTransitionModifier
Animated version of Positioned which transitions the child's position
based on the value of rect relative to a bounding box with the
specified size .
ReorderableDelayedDragStartListenerModifier
A wrapper widget that will recognize the start of a drag operation by
looking for a long press event. Once it is recognized, it will start
a drag operation on the wrapped item in the reorderable list.
ReorderableDragStartListenerModifier
A wrapper widget that will recognize the start of a drag on the wrapped
widget by a PointerDownEvent , and immediately initiate dragging the
wrapped item to a new location in a reorderable list.
RepaintBoundaryModifier
A widget that creates a separate display list for its child.
RestorationScopeModifier
Creates a new scope for restoration IDs used by descendant widgets to claim
RestorationBucket s.
RootRestorationScopeModifier
Inserts a child bucket of RestorationManager.rootBucket into the widget
tree and makes it available to descendants via RestorationScope.of .
RotatedBoxModifier
A widget that rotates its child by a integral number of quarter turns.
RotationTransitionModifier
Animates the rotation of a widget.
SafeAreaModifier
A widget that insets its child by sufficient padding to avoid intrusions by
the operating system.
ScaffoldMessengerModifier
Manages SnackBar s and MaterialBanner s for descendant Scaffold s.
ScaleTransitionModifier
Animates the scale of a transformed widget.
ScrollbarModifier
A Material Design scrollbar.
ScrollbarThemeModifier
Applies a scrollbar theme to descendant Scrollbar widgets.
ScrollConfigurationModifier
Controls how Scrollable widgets behave in a subtree.
ScrollNotificationObserverModifier
Notifies its listeners when a descendant scrolls.
SelectableRegionModifier
A widget that introduces an area for user selections.
SelectionAreaModifier
A widget that introduces an area for user selections with adaptive selection
controls.
SelectionContainerModifier
A container that handles SelectionEvent s for the Selectable s in
the subtree.
SemanticsDebuggerModifier
A widget that visualizes the semantics for the child.
SemanticsModifier
A widget that annotates the widget tree with a description of the meaning of
the widgets.
ShaderMaskModifier
A widget that applies a mask generated by a Shader to its child.
SharedAppDataModifier
Enables sharing key/value data with its child
and all of the
child's descendants.
ShortcutsModifier
A widget that creates key bindings to specific actions for its
descendants.
SimpleDialogOptionModifier
An option used in a SimpleDialog .
SingleChildImplicitlyAnimatedModifier
An abstract class for building widgets that animate changes to their
properties.
SingleChildModifier
A Widget that takes a single descendant.
SingleChildScrollViewModifier
A box in which a single widget can be scrolled.
SingleChildState <T extends SingleChildStatefulModifier >
A State for SingleChildStatefulModifier .
SingleChildStatefulElement
An Element that uses a SingleChildStatefulModifier as its configuration.
SingleChildStatefulModifier
A StatefulWidget that is compatible with Modifier .
SingleChildStatelessElement
An Element that uses a SingleChildStatelessModifier as its configuration.
SingleChildStatelessModifier
A StatelessWidget that implements SingleChildModifier and is therefore
compatible with Modifier .
SizeChangedLayoutNotifierModifier
A widget that automatically dispatches a SizeChangedLayoutNotification
when the layout dimensions of its child change.
SizedBoxModifier
A box with a specified size.
SizedOverflowBoxModifier
A widget that is a specific size but passes its original constraints
through to its child, which may then overflow.
SizeTransitionModifier
Animates its own size and clips and aligns its child.
SliderThemeModifier
Applies a slider theme to descendant Slider widgets.
SlideTransitionModifier
Animates the position of a widget relative to its normal position.
SliverAnimatedOpacityModifier
Animated version of SliverOpacity which automatically transitions the
sliver child's opacity over a given duration whenever the given opacity
changes.
SliverFadeTransitionModifier
Animates the opacity of a sliver widget.
SliverFillRemainingModifier
A sliver that contains a single box child that fills the remaining space in
the viewport.
SliverIgnorePointerModifier
A sliver widget that is invisible during hit testing.
SliverLayoutBuilderModifier
Builds a sliver widget tree that can depend on its own SliverConstraints .
SliverOffstageModifier
A sliver that lays its sliver child out as if it was in the tree, but
without painting anything, without making the sliver child available for hit
testing, and without taking any room in the parent.
SliverOpacityModifier
A sliver widget that makes its sliver child partially transparent.
SliverPaddingModifier
A sliver that applies padding on each side of another sliver.
SliverSafeAreaModifier
A sliver that insets another sliver by sufficient padding to avoid
intrusions by the operating system.
SliverToBoxAdapterModifier
A sliver that contains a single box widget.
SliverVisibilityModifier
Whether to show or hide a sliver child.
StatefulBuilderModifier
A platonic widget that both has state and calls a closure to obtain its child widget.
StretchingOverscrollIndicatorModifier
A Material Design visual indication that a scroll view has overscrolled.
SwitchThemeModifier
Applies a switch theme to descendant Switch widgets.
TabModifier
A Material Design TabBar tab.
TextButtonModifier
A Material Design "Text Button".
TextButtonThemeModifier
Overrides the default ButtonStyle of its TextButton descendants.
TextSelectionGestureDetectorModifier
A gesture detector to respond to non-exclusive event chains for a text field.
TextSelectionThemeModifier
An inherited widget that defines the appearance of text selection in
this widget's subtree.
TextSelectionToolbarTextButtonModifier
A button styled like a Material native Android text selection menu button.
ThemeModifier
Applies a theme to descendant widgets.
TickerModeModifier
Enables or disables tickers (and thus animation controllers) in the widget
subtree.
TimePickerThemeModifier
An inherited widget that defines the configuration for time pickers
displayed using showTimePicker in this widget's subtree.
TitleModifier
A widget that describes this app in the operating system.
ToggleButtonsThemeModifier
An inherited widget that defines color and border parameters for
ToggleButtons in this widget's subtree.
TooltipModifier
A Material Design tooltip.
TooltipThemeModifier
An inherited widget that defines the configuration for
Tooltip s in this widget's subtree.
TooltipVisibilityModifier
Overrides the visibility of descendant Tooltip widgets.
TransformModifier
A widget that applies a transformation before painting its child.
TweenAnimationBuilderModifier <T extends Object ? >
Widget builder that animates a property of a Widget to a target value
whenever the target value changes.
UnconstrainedBoxModifier
A widget that imposes no constraints on its child, allowing it to render
at its "natural" size.
UnmanagedRestorationScopeModifier
Inserts a provided RestorationBucket into the widget tree and makes it
available to descendants via RestorationScope.of .
ValueListenableBuilderModifier <T >
A widget whose content stays synced with a ValueListenable .
VisibilityModifier
Whether to show or hide a child.
WidgetInspectorModifier
A widget that enables inspecting the child widget's structure.
WillPopScopeModifier
Registers a callback to veto attempts by the user to dismiss the enclosing
ModalRoute .
Typedefs
FormFieldModifierBuilder <T >
= Widget Function(FormFieldState <T > field , Widget ? child )
Signature for building the widget representing the form field.
InteractiveViewerModifierBuilder
= Widget Function(BuildContext context , Quad viewport )
A signature for widget builders that take a Quad
of the current viewport.
OrientationModifierBuilder
= Widget Function(BuildContext context , Orientation orientation , Widget ? child )
Signature for a function that builds a widget given an Orientation .
SingleChildDragTargetBuilder <T >
= Widget Function(BuildContext context , List <T? > candidateData , List rejectedData , Widget ? child )
Signature for building children of a DragTarget .
SingleChildLayoutWidgetBuilder
= Widget Function(BuildContext context , BoxConstraints constraints , Widget ? child )
The signature of the LayoutBuilder builder function.
SingleChildScrollableWidgetBuilder
= Widget Function(BuildContext context , ScrollController scrollController , Widget ? child )
The signature of a method that provides a BuildContext and
ScrollController for building a widget that may overflow the draggable
Axis of the containing DraggableScrollableSheet .
SingleChildStatefulWidgetBuilder
= Widget Function(BuildContext context , StateSetter setState , Widget ? child )
Signature for the builder callback used by StatefulBuilder .
SingleChildWidgetBuilder
= Widget Function(BuildContext context , Widget ? child )
Single child widget builder
SliverLayoutWidgetModifierBuilder
= Widget Function(BuildContext context , SliverConstraints constraints , Widget ? child )
The signature of the SliverLayoutBuilder builder function.