DrawerDragTrigger class
A data class which is used to describe DrawerScaffold's drawer drag trigger.
Constructors
Properties
- bottom → double?
-
The trigger's bottom offset in scaffold. Note that MediaQuery's bottom padding should
be taken into consideration.
final
- dragWidth → double?
-
The width of the area within which a horizontal swipe will open the drawer, defaults to
DrawerScaffold.drawerEdgeDragWidth or DrawerScaffold.endDrawerEdgeDragWidth. If the
corresponding value is null, it will fallback to 20.0 with MediaQuery horizontal padding.
final
- forBothSide → bool
-
The flag to enable trigger dragging to open both drawer and end drawer if exists,
defaults to false, which means overlapped trigger will only respond one side drawer.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double?
-
The trigger's height.
final
- left → double?
-
The trigger's left offset in scaffold, defaults to 0.0 if it is drawer's trigger.
final
- right → double?
-
The trigger's right offset in scaffold, defaults to 0.0 if it is end drawer's trigger.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- top → double?
-
The trigger's top offset in scaffold. Note that MediaQuery's top padding should be
taken into consideration.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override