TrashLayout class
Defines the layout and animation behavior of the Trash bin. It contains both the visible position (when dragging) and the hidden position.
- Annotations
Constructors
- TrashLayout({required TrashPosition visible, })
-
Creates a TrashPosition.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
The position of the Trash bin when it is hidden.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → TrashPosition
-
The position of the Trash bin when it is visible.
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.
override
Constants
- bottomCenter → const TrashLayout
- Slides up from the bottom center.
- bottomRight → const TrashLayout
- Slides up from the bottom right (FAB style).
- centerLeft → const TrashLayout
- Slides in from the left side.
- topCenter → const TrashLayout
- Slides down from the top center.