WindowTheme class

Theme configuration for window components.

Provides styling options for window elements including title bar height and resize border thickness. Used to customize the visual appearance of window components within the application.

Example:

WindowTheme(
  titleBarHeight: 32.0,
  resizeThickness: 4.0,
)
Inheritance

Constructors

WindowTheme({double? titleBarHeight, double? resizeThickness})
Creates a window theme with optional title bar and resize border settings.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
resizeThickness double?
Thickness of the window's resize border in logical pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleBarHeight double?
Height of the window's title bar in logical pixels.
final

Methods

copyWith({ValueGetter<double?>? titleBarHeight, ValueGetter<double?>? resizeThickness}) WindowTheme
Creates a copy of this theme with optionally replaced values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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