SingleChildSelectionOverlay class
Represents an overlay for selecting a single child item.
This class extends SelectionOverlay and provides functionality for a selection overlay with a single child item.
To create an instance of SingleChildSelectionOverlay, use the constructor and pass the child item as a required parameter.
Example:
SingleChildSelectionOverlay(child: myChildItem)
- Inheritance
-
- Object
- SelectionOverlay
- SingleChildSelectionOverlay
Constructors
- SingleChildSelectionOverlay({required SelectionOverlayItem child})
-
Creates a SingleChildSelectionOverlay with the specified
child
.const
Properties
- child → SelectionOverlayItem
-
The child item for the selection overlay.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited