MyoroDrawerThemeExtension class
- Inheritance
-
- Object
- ThemeExtension<
MyoroDrawerThemeExtension> - MyoroDrawerThemeExtension
- Annotations
-
- @immutable
- @myoroThemeExtension
Constructors
- MyoroDrawerThemeExtension.new({EdgeInsets? drawerContentPadding, EdgeInsets? drawerPadding, ShapeBorder? drawerShape, EdgeInsets? titleContentDividerPadding, TextStyle? titleTextStyle})
-
const
- MyoroDrawerThemeExtension.builder(ColorScheme colorScheme, TextTheme textTheme)
- MyoroDrawerThemeExtension.fake()
Properties
- drawerContentPadding → EdgeInsets?
-
Padding of the content in
_Drawer
.final - drawerPadding → EdgeInsets?
-
Padding of
_Drawer
.final - drawerShape → ShapeBorder?
-
Drawer.shape of the drawer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → MyoroDrawerThemeExtension
-
no setterinherited
- titleContentDividerPadding → EdgeInsets?
-
Padding of the MyoroBasicDivider in between
_Title
andMyoroDrawer.child
.final - titleTextStyle → TextStyle?
-
Text style of text in
_Title
.final - type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{EdgeInsets? drawerPadding, bool drawerPaddingProvided = true, EdgeInsets? drawerContentPadding, bool drawerContentPaddingProvided = true, ShapeBorder? drawerShape, bool drawerShapeProvided = true, EdgeInsets? titleContentDividerPadding, bool titleContentDividerPaddingProvided = true, TextStyle? titleTextStyle, bool titleTextStyleProvided = true}) → MyoroDrawerThemeExtension -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
inherited
-
lerp(
covariant MyoroDrawerThemeExtension? other, double t) → MyoroDrawerThemeExtension -
Linearly interpolate with another ThemeExtension object.
override
-
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