FlyItem class
Item to fly
Constructors
- FlyItem({required Widget child, required FlyOrigin origin, Size? size, String? id})
-
const
-
FlyItem.fromKey({required Widget child, required GlobalKey<
State< key, String? id})StatefulWidget> > -
Create from GlobalKey
factory
- FlyItem.fromOffset({required Widget child, required Offset offset, Size? size, String? id})
-
Create from Offset
factory
Properties
- child → Widget
-
Widget to display
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
ID for identification (used in callbacks)
final
- origin → FlyOrigin
-
Start position
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size?
-
Item size (attempts to get from child if null)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvePositionAndSize(
) → (Offset?, Size?) - Resolve position and size
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited