HiddenDrawerMenu class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- HiddenDrawerMenu
Constructors
-
HiddenDrawerMenu(List<
ScreenHiddenDrawer> screens, {int? initPositionSelected = 0, Color? backgroundColorAppBar, double elevationAppBar = 4.0, Widget iconMenuAppBar = const Icon(Icons.menu), DecorationImage? backgroundMenu, Color? backgroundColorMenu, Color backgroundColorContent = Colors.white, bool whithAutoTittleName = 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 enableScaleAnimin = true, bool enableCornerAnimin = true, TypeOpen typeOpen = TypeOpen.FROM_LEFT, Widget? title})
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
- contentCornerRadius → double
-
radius applied to the content when active
final
- curveAnimation → Curve
-
final
- elevationAppBar → double
-
Change elevation of the AppBar
final
- enableCornerAnimin → bool
-
anable animation borderRadius
final
- enableScaleAnimin → bool
-
anable 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
- iconMenuAppBar → Widget
-
Change iconmenu of the AppBar
final
- 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
- 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
- title → Widget?
-
final
- tittleAppBar → Widget?
-
Set custom widget in tittleAppBar
final
- typeOpen → TypeOpen
-
final
- verticalScalePercent → double
-
percent the content should scale vertically
final
- whithAutoTittleName → bool
-
enable auto title in appbar with menu item name
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
buildMenu(
) → dynamic -
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) → dynamic -
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