M3EFullScreenDialog class
A Material 3 full-screen dialog surface.
Header: close (X), headline and a trailing confirm action. Content scrolls
under the header and optional bottom action bar, which tint and lift on
scroll. Use it with M3EDialog.showFullScreen, or as the destination of
a FAB container transform (M3EFab.openBuilder).
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- M3EFullScreenDialog
Constructors
-
M3EFullScreenDialog({required String title, required Widget body, Widget? action, String? confirmLabel, VoidCallback? onConfirm, List<
Widget> bottomActions = const <Widget>[], String? contentHeadline, EdgeInsetsGeometry? contentPadding, bool? showDivider, Widget? closeIcon, String closeLabel = M3EDialogStrings.close, VoidCallback? onClose, String? semanticLabel, Key? key}) -
M3EFullScreenDialog.
const
Properties
- action → Widget?
-
Trailing header action (e.g. a text button labelled Save).
final
- body → Widget
-
Dialog content.
final
-
bottomActions
→ List<
Widget> -
Bottom action bar actions. Empty hides the bar.
final
- closeIcon → Widget?
-
Null uses the close glyph.
final
- closeLabel → String
-
Close button label and tooltip.
final
- confirmLabel → String?
-
Label for a token-styled header action, used when action is null.
final
- contentHeadline → String?
-
Long headline placed in the content area instead of the header.
final
- contentPadding → EdgeInsetsGeometry?
-
Null uses the theme (24 top / left / right).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onClose → VoidCallback?
-
Null closes the FAB transform or pops through dismiss guards.
final
- onConfirm → VoidCallback?
-
Called by the confirmLabel action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
Null uses title.
final
- showDivider → bool?
-
Null uses the theme.
final
- title → String
-
Header headline. Keep it short; long copy goes in contentHeadline.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< M3EFullScreenDialog> -
Creates the mutable state for this widget at a given location in the tree.
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, int wrapWidth = 65}) → 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