HiddenDrawerMenu class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- HiddenDrawerMenu
Constructors
-
HiddenDrawerMenu({required List<
ScreenHiddenDrawer> screens, int initPositionSelected = 0, Color? backgroundColorAppBar, double elevationAppBar = 4.0, Widget leadingAppBar = const Icon(Icons.menu), DecorationImage? backgroundMenu, required Color backgroundColorMenu, Color backgroundColorContent = Colors.white, bool withAutoTittleName = true, TextStyle? styleAutoTittleName, List<Widget> ? actionsAppBar, Widget? tittleAppBar, bool? isTitleCentered, bool enableShadowItensMenu = false, Curve curveAnimation = Curves.decelerate, bool isDraggable = true, double slidePercent = 80.0, double verticalScalePercent = 80.0, double contentCornerRadius = 10.0, bool enableScaleAnimation = true, bool enableCornerAnimation = true, bool disableAppBarDefault = false, bool withShadow = true, List<BoxShadow> ? boxShadow, TypeOpen typeOpen = TypeOpen.FROM_LEFT})
Properties
-
actionsAppBar
→ List<
Widget> ? -
Add actions in the AppBar
final
- backgroundColorAppBar → Color?
-
change backgroundColor of the AppBar
final
- backgroundColorContent → Color
-
Decocator that allows us to add backgroud in the content(color)
final
- backgroundColorMenu → Color
-
that allows us to add backgroud in the menu(color)
final
- backgroundMenu → DecorationImage?
-
Decocator that allows us to add backgroud in the menu(img)
final
-
boxShadow
→ List<
BoxShadow> ? -
shadow properties on the edge of the drawer
final
- contentCornerRadius → double
-
radius applied to the content when active
final
- curveAnimation → Curve
-
final
- disableAppBarDefault → bool
-
final
- elevationAppBar → double
-
Change elevation of the AppBar
final
- enableCornerAnimation → bool
-
enable animation borderRadius
final
- enableScaleAnimation → bool
-
enable animation Scale
final
- enableShadowItensMenu → bool
-
that allows us to add shadow above menu items
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initPositionSelected → int
-
position initial item selected in menu( sart in 0)
final
- isDraggable → bool
-
enable and disable open and close with gesture
final
- isTitleCentered → bool?
-
Decide whether title is centered or not
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- leadingAppBar → Widget
-
Change leading of the AppBar
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
screens
→ List<
ScreenHiddenDrawer> -
List item menu and respective screens
final
- slidePercent → double
-
final
- styleAutoTittleName → TextStyle?
-
Style of the title in appbar
final
- tittleAppBar → Widget?
-
Set custom widget in tittleAppBar
final
- typeOpen → TypeOpen
-
final
- verticalScalePercent → double
-
percent the content should scale vertically
final
- withAutoTittleName → bool
-
enable auto title in appbar with menu item name
final
- withShadow → bool
-
display shadow on the edge of the drawer
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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
-
getTittleAppBar(
int position) → Widget? -
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