EasyDrawer class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- EasyDrawer
Constructors
-
EasyDrawer({Key? key, List<
SideTile> ? tiles, SideBox? topWidget, SideBox? bottomWidget, SideBox? topSmallWidget, SideBox? bottomSmallWidget, ValueChanged<EasyBody> ? onTileTapped, Color? tileColor, Color? textColor, Color? iconColor, Color? selectedColor, Color? selectedTileColor, Color? selectedTextColor, Color? selectedIconColor, Color? hoverColor, required Size size}) -
Easy Drawer
const
Properties
- bottomSmallWidget → SideBox?
-
widget to display at the bottom when the drawer is partially opened
final
- bottomWidget → SideBox?
-
widget to display at the bottom when the drawer is fully opened
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverColor → Color?
-
hover color
final
- iconColor → Color?
-
icon color
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onTileTapped
→ ValueChanged<
EasyBody> ? -
actions to be taken when a tile is tapped
This is mostly switching the body of the dashboard
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
tile selected color
final
- selectedIconColor → Color?
-
selected icon color
final
- selectedTextColor → Color?
-
tile text selected color
final
- selectedTileColor → Color?
-
selected tile color
final
- size → Size
-
the size of the drawer when fully opened
final
- textColor → Color?
-
text color
final
- tileColor → Color?
-
tile color
final
-
tiles
→ List<
SideTile> ? -
final
- topSmallWidget → SideBox?
-
widget to display at the top when the drawer is partially opened
final
- topWidget → SideBox?
-
widget to display at the top when the drawer is fully opened
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< EasyDrawer> -
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