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, Widget screenSelectedBuilder(int position, SimpleHiddenDrawerBloc bloc)?, Widget? menu, bool enableScaleAnimin = true, bool enableCornerAnimin = true, TypeOpen typeOpen = TypeOpen.FROM_LEFT, Widget? title})
const

Properties

contentCornerRadius double
radius applied to the content when active
final
curveAnimation Curve
curve effect to open and close drawer
final
enableCornerAnimin bool
anable animation borderRadius
final
enableScaleAnimin bool
anable 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 → (Widget Function(int position, SimpleHiddenDrawerBloc bloc)?)
Function of the recive screen to show
final
slidePercent double
percent the container should be slided to the side
final
title Widget?
final
typeOpen TypeOpen
final
verticalScalePercent double
percent the content should scale vertically
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