DrawerParameters class
Contains parameters to customize the Drawer.
It includes all the same arguments as the Drawer(), excepting the 'child', which is managed by the DrawerNavigationBuilder.
In addition it includes some parameters of ListTile() that are used to style selected drawer item.
See also:
Constructors
- DrawerParameters({Color? backgroundColor, double? elevation, ShapeBorder? shape, double? width, String? semanticLabel, Color? selectedColor, Color? selectedTileColor})
-
Create a DrawerParameters instance.
const
Properties
- backgroundColor → Color?
-
Drawer.backgroundColor
final
- elevation → double?
-
Drawer.elevation
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
ListTile.selectedColor
final
- selectedTileColor → Color?
-
ListTile.selectedTileColor
final
- semanticLabel → String?
-
Drawer.semanticLabel
final
- shape → ShapeBorder?
-
Drawer.shape
final
- width → double?
-
Drawer.width
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited