SimpleHiddenDrawer class

Inheritance

Constructors

SimpleHiddenDrawer({Key? key, int initPositionSelected = 0, bool isDraggable = true, double slidePercent = 80.0, double verticalScalePercent = 80.0, double contentCornerRadius = 10.0, Curve curveAnimation = Curves.decelerate, required AsyncScreenBuilder screenSelectedBuilder, required Widget menu, bool enableScaleAnimation = true, bool enableCornerAnimation = true, TypeOpen typeOpen = TypeOpen.FROM_LEFT, bool withShadow = true, List<BoxShadow>? boxShadow})
const

Properties

boxShadow List<BoxShadow>?
shadow properties on the edge of the drawer
final
contentCornerRadius double
radius applied to the content when active
final
curveAnimation Curve
curve effect to open and close drawer
final
enableCornerAnimation bool
enable animation borderRadius
final
enableScaleAnimation bool
enable animation Scale
final
hashCode int
The hash code for this object.
no setterinherited
initPositionSelected int
position initial item selected in menu( start in 0)
final
isDraggable bool
enable and disable open and close with gesture
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenSelectedBuilder AsyncScreenBuilder
Function of the receive screen to show
final
slidePercent double
percent the container should be slided to the side
final
typeOpen TypeOpen
final
verticalScalePercent double
percent the content should scale vertically
final
withShadow bool
display shadow on the edge of the drawer
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _SimpleHiddenDrawerState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited