YaruThemeData class

Mixed in types
Annotations

Constructors

YaruThemeData({YaruVariant? variant, bool? highContrast, ThemeMode? themeMode, Iterable<ThemeExtension>? extensions, PageTransitionsTheme? pageTransitionsTheme, bool? useMaterial3, VisualDensity? visualDensity})
const

Properties

darkTheme ThemeData?
The dark theme of variant (or yaruDark if not available) merged with the YaruThemeData overrides.
no setter
extensions Iterable<ThemeExtension>?
Overrides ThemeData.extensions.
final
hashCode int
The hash code for this object.
no setteroverride
highContrast bool?
Whether to use high contrast colors.
final
pageTransitionsTheme PageTransitionsTheme?
Overrides ThemeData.pageTransitionsTheme.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme ThemeData?
The light theme of variant (or yaruLight if not available) merged with the YaruThemeData overrides.
no setter
themeMode ThemeMode?
Whether a light or dark theme is used.
final
useMaterial3 bool?
Overrides ThemeData.useMaterial3.
final
variant YaruVariant?
Specifies the theme variant.
final
visualDensity VisualDensity?
Overrides ThemeData.visualDensity.
final

Methods

copyWith({YaruVariant? variant, bool? highContrast, ThemeMode? themeMode, Iterable<ThemeExtension>? extensions, PageTransitionsTheme? pageTransitionsTheme, bool? useMaterial3, VisualDensity? visualDensity}) YaruThemeData
Creates a copy of this YaruThemeData with the provided values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
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