FlipSettings class
Data class to handle the particular settings for FlipDrawerWidget
This class help a TaleDrawer to build the Drawer
and define some special characteristics
Constructors
- FlipSettings({double drawerWidth = 250.0, double flipPercent = 99, bool disableDrag = false, bool toggleToClose = true, DrawerAnimation type = DrawerAnimation.FLIP, Color shadowColor = Colors.black26, bool showShadow = true})
-
const
Properties
- disableDrag → bool
-
Flag to control de drag to open or close in the
Drawer
final - drawerWidth → double
-
This is the with for the content of
Drawer
define inFlipContent
final - duration → Duration
-
no setter
- flipPercent → double
-
This is the rotation percent in
y
when flip animation is complete, it's like perspectivefinal - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color
-
The color of the shadow
final
- showShadow → bool
-
Show shadow(opacity) when flip animation is made in body
final
- toggleToClose → bool
-
Flag to close when is tap in zone outside the
Drawer
contentfinal - type → DrawerAnimation
-
The flip drawer have two types of animation behavior
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