TimeBasedThemeSettings class
Settings for time-based theme switching
Constructors
- TimeBasedThemeSettings({int darkThemeStartHour = 18, int lightThemeStartHour = 6, bool use24HourFormat = true})
-
const
Properties
- darkThemeStartHour → int
-
Hour when dark theme should start (0-23)
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lightThemeStartHour → int
-
Hour when light theme should start (0-23)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- use24HourFormat → bool
-
Whether to use 24-hour format
final
Methods
-
copyWith(
{int? darkThemeStartHour, int? lightThemeStartHour, bool? use24HourFormat}) → TimeBasedThemeSettings - Creates a copy of this settings with updated values
-
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.
override