DefaultNavigationDrawerTheme class

Inheritance

Constructors

DefaultNavigationDrawerTheme(BuildContext context)

Properties

backgroundColor Color?
Overrides the default value of NavigationDrawer.backgroundColor.
no setteroverride
context BuildContext
final
elevation double?
Overrides the default value of NavigationDrawer.elevation.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
iconTheme WidgetStateProperty<IconThemeData?>?
The theme to merge with the default icon theme for NavigationDestination icons.
no setteroverride
indicatorColor Color?
Overrides the default value of NavigationDrawer's selection indicator.
no setteroverride
indicatorShape ShapeBorder?
Overrides the default shape of the NavigationDrawer's selection indicator.
finalinherited
indicatorSize Size?
Overrides the default size of the NavigationDrawer's selection indicator.
finalinherited
labelTextStyle WidgetStateProperty<TextStyle?>?
The style to merge with the default text style for NavigationDestination labels.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
Overrides the default value of NavigationDrawer.shadowColor.
no setteroverride
surfaceTintColor Color?
Overrides the default value of NavigationDrawer.surfaceTintColor.
no setteroverride
tileHeight double?
Overrides the default height of NavigationDrawerDestination.
finalinherited

Methods

copyWith({double? tileHeight, Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, Color? indicatorColor, ShapeBorder? indicatorShape, Size? indicatorSize, MaterialStateProperty<TextStyle?>? labelTextStyle, MaterialStateProperty<IconThemeData?>? iconTheme}) NavigationDrawerThemeData
Creates a copy of this object with the given fields replaced with the new values.
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited