ModalEntry class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ModalEntry
Constructors
- ModalEntry.aligned(BuildContext context, {Key? key, required String tag, required Alignment alignment, String? aboveTag, String? belowTag, Alignment anchorAlignment = Alignment.center, Alignment modalAlignment = Alignment.center, Offset offset = Offset.zero, bool removeOnPop = false, bool removeOnPushNext = false, bool barrierDismissible = false, Color barrierColor = Colors.transparent, VoidCallback? onRemove, required Widget child})
-
const
- ModalEntry.anchored(BuildContext context, {Key? key, required String tag, String? aboveTag, String? belowTag, required String? anchorTag, Alignment anchorAlignment = Alignment.center, Alignment modalAlignment = Alignment.center, Offset offset = Offset.zero, bool removeOnPop = false, bool removeOnPushNext = false, bool barrierDismissible = false, Color barrierColor = Colors.transparent, VoidCallback? onRemove, required Widget child})
-
const
- ModalEntry.positioned(BuildContext context, {Key? key, required String tag, double? left, double? top, double? right, double? bottom, String? aboveTag, String? belowTag, bool removeOnPop = false, bool removeOnPushNext = false, bool barrierDismissible = false, Color barrierColor = Colors.transparent, VoidCallback? onRemove, required Widget child})
-
const
Properties
- aboveTag → String?
-
ModalEntry will be positioned just above given aboveTag ModalEntry
final
- alignment → Alignment
-
final
- anchorAlignment → Alignment
-
The anchor point on the given ModalAnchor that ModalEntry will line up with.
final
- anchorTag → String?
-
The ModalAnchor tag on this widget tree that will act as an anchor for the ModalEntry
final
- barrierColor → Color
-
Modal barrier color
final
- barrierDismissible → bool
-
Remove ModalEntry on tapping the barrier
final
- belowTag → String?
-
ModalEntry will be positioned just above given belowTag ModalEntry
final
- bottom → double?
-
final
- child → Widget
-
child widget which will be shown as modal
final
- context → BuildContext
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- left → double?
-
final
- modalAlignment → Alignment
-
The anchor point on this widget that will line up with ModalAnchor
final
- offset → Offset
-
The additional offset to apply to the ModalEntry position
final
- onRemove → VoidCallback?
-
Callback function on ModalEntry removal
final
- removeOnPop → bool
-
Remove ModalEntry on pop
final
- removeOnPushNext → bool
-
Remove ModalEntry on push
final
- right → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String
-
Unique tag for ModalEntry
final
- top → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → ModalEntryState -
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}) → 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