YaruNavigationPageThemeData class

Inheritance
Mixed-in types
Annotations

Constructors

YaruNavigationPageThemeData({EdgeInsetsGeometry? railPadding, PageTransitionsTheme? pageTransitions, bool? includeSeparator, Color? sideBarColor})
Creates a theme that can be used with YaruNavigationPage.
const
YaruNavigationPageThemeData.fallback(BuildContext context)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
includeSeparator bool?
Controls whether a separator should be included between the content and the sidebar. Defaults to true
final
pageTransitions PageTransitionsTheme?
The page transitions to use.
final
railPadding EdgeInsetsGeometry?
The padding around the navigation rail.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sideBarColor Color?
The color of the sidebar. Defaults to Theme.of(context).colorScheme.surface, where Theme is the material theme.
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({EdgeInsetsGeometry? railPadding, PageTransitionsTheme? pageTransitions, bool? includeSeparator, Color? sideBarColor}) YaruNavigationPageThemeData
Creates a copy of this object but with the given fields replaced with the new values.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(covariant ThemeExtension<YaruNavigationPageThemeData>? other, double t) ThemeExtension<YaruNavigationPageThemeData>
Linearly interpolate with another ThemeExtension object.
override
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.
override