cupertino
library
Classes
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.
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.
BuilderModifier
A stateless utility widget whose build method uses its
builder callback to create the widget's child.
CenterModifier
A widget that centers its child within itself.
CheckedModeBannerModifier
Displays a Banner saying "DEBUG" when running in debug mode.
MaterialApp builds one of these by default.
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.
CupertinoActionSheetActionModifier
A button typically used in a CupertinoActionSheet .
CupertinoButtonModifier
An iOS-style button.
A button in a _ContextMenuSheet.
A full-screen modal route that opens when the child
is long-pressed.
CupertinoDialogActionModifier
A button typically used in a CupertinoAlertDialog .
CupertinoFormRowModifier
An iOS-style form row.
CupertinoFullscreenDialogTransitionModifier
An iOS-style transition used for summoning fullscreen dialogs.
CupertinoPageScaffoldModifier
Implements a single iOS application page's layout.
CupertinoPageTransitionModifier
Provides an iOS-style page transition animation.
Rounded rectangle surface that looks like an iOS popup surface, e.g., alert dialog
and action sheet.
CupertinoScrollbarModifier
An iOS style scrollbar.
CupertinoTabViewModifier
A single tab view with its own Navigator state and history.
CupertinoTextSelectionToolbarButtonModifier
A button in the style of the iOS text selection toolbar buttons.
CupertinoThemeModifier
Applies a visual styling theme to descendant Cupertino widgets.
CupertinoUserInterfaceLevelModifier
Establishes a subtree in which CupertinoUserInterfaceLevel.of resolves to
the given data.
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.
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.
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 .
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.
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.
DualTransitionBuilderModifier
A transition builder that animates its child
based on the
AnimationStatus of the provided animation .
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.
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.
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.
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.
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.
LongPressDraggableModifier <T extends Object >
Makes its child draggable starting from long press.
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.
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).
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.
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.
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.
RawScrollbarModifier
An extendable base class for building scrollbars that fade in and out.
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.
ScaleTransitionModifier
Animates the scale of a transformed widget.
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.
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.
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.
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.
TextSelectionGestureDetectorModifier
A gesture detector to respond to non-exclusive event chains for a text field.
TickerModeModifier
Enables or disables tickers (and thus animation controllers) in the widget
subtree.
TitleModifier
A widget that describes this app in the operating system.
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.