ClockColors class
Defines the colors for the various parts of the clock.
Constructors
- ClockColors({Color background = Colors.transparent, Color bottomShadow = const Color(0xFFd0d0d0), Color innerShadow = const Color(0xFFd0d0d0), Color topShadow = Colors.white, Color clockFace = const Color(0xFFffffff), Color border = Colors.white, Color hand = Colors.black, PeriodColors periodColors = const PeriodColors(), ControlButtonColors controlButtonColors = const ControlButtonColors()})
-
Creates a new ClockColors object.
const
Properties
- background → Color
-
The background color of the entire widget.
final
- border → Color
-
The color of the clock border.
final
- bottomShadow → Color
-
The color of the bottom shadow of the clock face.
final
- clockFace → Color
-
The color of the clock face.
final
- controlButtonColors → ControlButtonColors
-
The colors for the control buttons.
final
- hand → Color
-
The color of the clock hands.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerShadow → Color
-
The color of the inner shadow of the clock face.
final
- periodColors → PeriodColors
-
The colors for the AM/PM period indicator.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topShadow → Color
-
The color of the top shadow of the clock face.
final
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