SingleChildStatelessModifier class abstract
A StatelessWidget that implements SingleChildModifier and is therefore compatible with Modifier.
Its build method must not be overriden. Instead use buildWithChild.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- SingleChildStatelessModifier
- Implemented types
- Implementers
- AboutListTileModifier
- AbsorbPointerModifier
- ActionListenerModifier
- ActionsModifier
- AlignModifier
- AlignTransitionModifier
- AnimatedBuilderModifier
- AnimatedSizeModifier
- AnimatedSwitcherModifier
- AnnotatedRegionModifier
- AspectRatioModifier
- AutocompleteHighlightedOptionModifier
- AutofillGroupModifier
- AutomaticKeepAliveModifier
- BackButtonListenerModifier
- BackdropFilterModifier
- BannerModifier
- BaselineModifier
- BlockSemanticsModifier
- BottomAppBarModifier
- BottomNavigationBarThemeModifier
- BottomSheetModifier
- BuilderModifier
- ButtonBarThemeModifier
- ButtonStyleButtonModifier
- ButtonThemeModifier
- CardModifier
- CheckboxThemeModifier
- CheckedModeBannerModifier
- ChipThemeModifier
- ClipOvalModifier
- ClipPathModifier
- ClipRectModifier
- ClipRRectModifier
- ColoredBoxModifier
- ColorFilteredModifier
- CompositedTransformFollowerModifier
- CompositedTransformTargetModifier
- ConstrainedBoxModifier
- ConstraintsTransformBoxModifier
- ContainerModifier
- CupertinoActionSheetActionModifier
- CupertinoButtonModifier
- CupertinoContextMenuActionModifier
- CupertinoContextMenuModifier
- CupertinoDialogActionModifier
- CupertinoFormRowModifier
- CupertinoFullscreenDialogTransitionModifier
- CupertinoPageScaffoldModifier
- CupertinoPageTransitionModifier
- CupertinoPopupSurfaceModifier
- CupertinoTabViewModifier
- CupertinoTextSelectionToolbarButtonModifier
- CupertinoThemeModifier
- CupertinoUserInterfaceLevelModifier
- CustomPaintModifier
- CustomSingleChildLayoutModifier
- DataTableThemeModifier
- DecoratedBoxModifier
- DecoratedBoxTransitionModifier
- DefaultSelectionStyleModifier
- DefaultTabControllerModifier
- DefaultTextEditingShortcutsModifier
- DefaultTextHeightBehaviorModifier
- DefaultTextStyleModifier
- DefaultTextStyleTransitionModifier
- DialogModifier
- DirectionalityModifier
- DismissibleModifier
- DisplayFeatureSubScreenModifier
- DividerThemeModifier
- DraggableModifier
- DraggableScrollableActuatorModifier
- DraggableScrollableSheetModifier
- DragTargetModifier
- DrawerHeaderModifier
- DrawerModifier
- DrawerThemeModifier
- DropdownButtonHideUnderlineModifier
- DualTransitionBuilderModifier
- ElevatedButtonModifier
- ElevatedButtonThemeModifier
- ExcludeFocusTraversalModifier
- ExcludeSemanticsModifier
- ExpansionTileThemeModifier
- FadeTransitionModifier
- FittedBoxModifier
- FlexibleModifier
- FloatingActionButtonModifier
- FocusableActionDetectorModifier
- FocusModifier
- FocusTraversalGroupModifier
- FocusTraversalOrderModifier
- FormFieldModifier
- FormModifier
- FractionallySizedBoxModifier
- FractionalTranslationModifier
- GestureDetectorModifier
- GridPaperModifier
- GridTileModifier
- HeroControllerScopeModifier
- HeroModeModifier
- HeroModifier
- IconThemeModifier
- IgnorePointerModifier
- ImageFilterModifier
- IndexedSemanticsModifier
- InkResponseModifier
- InputDecoratorModifier
- InteractiveViewerModifier
- IntrinsicHeightModifier
- IntrinsicWidthModifier
- KeyboardListenerModifier
- KeyedSubtreeModifier
- LayoutBuilderModifier
- LayoutIdModifier
- LimitedBoxModifier
- ListenerModifier
- ListTileThemeModifier
- LongPressDraggableModifier
- MaterialBannerThemeModifier
- MaterialButtonModifier
- MediaQueryModifier
- MergeSemanticsModifier
- MetaDataModifier
- MouseRegionModifier
- NavigationBarThemeModifier
- NavigationRailThemeModifier
- NotificationListenerModifier
- OffstageModifier
- OpacityModifier
- OrientationBuilderModifier
- OutlinedButtonModifier
- OutlinedButtonThemeModifier
- OverflowBoxModifier
- PaddingModifier
- PageStorageModifier
- PhysicalModelModifier
- PhysicalShapeModifier
- PlaceholderModifier
- PlatformMenuBarModifier
- PopupMenuButtonModifier
- PopupMenuItemModifier
- PopupMenuThemeModifier
- PositionedDirectionalModifier
- PositionedModifier
- PositionedTransitionModifier
- PreferredSizeModifier
- PrimaryScrollControllerModifier
- ProgressIndicatorThemeModifier
- RadioThemeModifier
- RawGestureDetectorModifier
- RawKeyboardListenerModifier
- RawMaterialButtonModifier
- RawScrollbarModifier
- RefreshIndicatorModifier
- RelativePositionedTransitionModifier
- ReorderableDelayedDragStartListenerModifier
- ReorderableDragStartListenerModifier
- RepaintBoundaryModifier
- RestorationScopeModifier
- RootRestorationScopeModifier
- RotatedBoxModifier
- RotationTransitionModifier
- SafeAreaModifier
- ScaffoldMessengerModifier
- ScaleTransitionModifier
- ScrollbarModifier
- ScrollbarThemeModifier
- ScrollConfigurationModifier
- ScrollNotificationObserverModifier
- SelectableRegionModifier
- SelectionAreaModifier
- SelectionContainerModifier
- SemanticsDebuggerModifier
- SemanticsModifier
- ShaderMaskModifier
- SharedAppDataModifier
- ShortcutsModifier
- SimpleDialogOptionModifier
- SingleChildImplicitlyAnimatedModifier
- SingleChildScrollViewModifier
- SingleChildStatelessWidgetMixin
- SizeChangedLayoutNotifierModifier
- SizedBoxModifier
- SizedOverflowBoxModifier
- SizeTransitionModifier
- SliderThemeModifier
- SlideTransitionModifier
- SliverFadeTransitionModifier
- SliverFillRemainingModifier
- SliverIgnorePointerModifier
- SliverLayoutBuilderModifier
- SliverOffstageModifier
- SliverOpacityModifier
- SliverPaddingModifier
- SliverSafeAreaModifier
- SliverToBoxAdapterModifier
- SliverVisibilityModifier
- StretchingOverscrollIndicatorModifier
- SwitchThemeModifier
- TabModifier
- TextButtonThemeModifier
- TextSelectionGestureDetectorModifier
- TextSelectionThemeModifier
- TextSelectionToolbarTextButtonModifier
- ThemeModifier
- TickerModeModifier
- TimePickerThemeModifier
- TitleModifier
- ToggleButtonsThemeModifier
- TooltipModifier
- TooltipThemeModifier
- TooltipVisibilityModifier
- TransformModifier
- TweenAnimationBuilderModifier
- UnconstrainedBoxModifier
- UnmanagedRestorationScopeModifier
- ValueListenableBuilderModifier
- VisibilityModifier
- WidgetInspectorModifier
- WillPopScopeModifier
- Available extensions
Constructors
- SingleChildStatelessModifier({Key? key, Widget? child, Key? modifierKey})
-
Creates a widget that has exactly one child widget.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- modifierKey → Key?
-
The actual key of the widget, which Modifier wrapped
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildWithChild(
BuildContext context, Widget? child) → Widget -
A build method that receives an extra
child
parameter. -
createElement(
) → SingleChildStatelessElement -
Create a SingleChildStatelessElement
override
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited