HeroContainerFragment class
A captured snapshot of a widget containing its image, size, and position.
Used by HeroContainerController to store widget snapshots for smooth transition animations between different widget states.
Constructors
- HeroContainerFragment({required Size size, required Offset offset, required Image capturedImage})
-
Creates a fragment with the captured widget data.
const
Properties
- capturedImage → Image
-
The captured image of the widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offset → Offset
-
The global position of the captured widget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
The size of the captured widget.
final
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