DrawerStyle class

Style configuration for the drawer variant.

Constructors

DrawerStyle({double? width, Color? backgroundColor, Color? barrierColor, BorderRadius? borderRadius, List<BoxShadow>? boxShadow, Duration? animationDuration, Curve? animationCurve, DrawerPosition position = DrawerPosition.right})
const

Properties

animationCurve → Curve?
Curve of the open/close animation. Defaults to Curves.easeInOut.
final
animationDuration → Duration?
Duration of the open/close animation. Defaults to 300ms.
final
backgroundColor → Color?
Background color of the drawer panel.
final
barrierColor → Color?
Color of the barrier/scrim behind the drawer (overlay mode only).
final
borderRadius → BorderRadius?
Border radius of the drawer panel.
final
boxShadow → List<BoxShadow>?
Box shadows for the drawer panel.
final
hashCode → int
The hash code for this object.
no setterinherited
position → DrawerPosition
Which side the drawer slides in from. Defaults to DrawerPosition.right.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double?
Width of the drawer panel. Defaults to 300.
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