PeriodColors class
Defines the colors for the AM/PM period indicator.
Constructors
- PeriodColors({Color activeBackground = Colors.black, Color inactiveBackground = Colors.grey, Color activeText = Colors.white, Color inactiveText = Colors.white})
-
Creates a new PeriodColors object.
const
Properties
- activeBackground → Color
-
The background color for the active period (AM/PM).
final
- activeText → Color
-
The text color for the active period (AM/PM).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveBackground → Color
-
The background color for the inactive period (AM/PM).
final
- inactiveText → Color
-
The text color for the inactive period (AM/PM).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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