TimePickerClockNumberDecoration class
Constructors
- TimePickerClockNumberDecoration({ClockTimeFormat clockTimeFormat = ClockTimeFormat.twentyFourHours, ClockIncrementTimeFormat clockIncrementTimeFormat = ClockIncrementTimeFormat.fiveMin, bool showNumberIndicators = true, double textScaleFactor = 0.7, double scaleFactor = 0.9, TextStyle? textStyle, double defaultFontSize = 18, Color defaultTextColor = Colors.black, ClockIncrementHourFormat clockIncrementHourFormat = ClockIncrementHourFormat.six})
Properties
- clockIncrementHourFormat ↔ ClockIncrementHourFormat
-
Defines the clock hour increment count
default value: ClockIncrementHourFormat.six
getter/setter pair
- clockIncrementTimeFormat ↔ ClockIncrementTimeFormat
-
Defines the clock time increment format
default value: ClockIncrementTimeFormat.fiveMin
getter/setter pair
- clockTimeFormat ↔ ClockTimeFormat
-
Defines the clock time format either twelveHours or twentyFourHours
default value: ClockTimeFormat.twentyFourHours
getter/setter pair
- defaultFontSize ↔ double
-
Optional, defines the font size to use when the a Style is not define,
default value: 18
getter/setter pair
- defaultTextColor ↔ Color
-
Optional, defines the main color to get use when the a Style is not define,
default value: Colors.black
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleFactor → double
-
play with this number to define the location of the clock number
default value: 0.9
final
- showNumberIndicators → bool
-
Set to true to enable clock numbers
default value: false
final
- textScaleFactor → double
-
play with this number to define reduce the font size of the clock number
default value: 0.7
final
- textStyle ↔ TextStyle?
-
Optional Style to be applied to the the clock number in the clock when clock is enable
if not need then set color to transparent
default value: NULL
See also:
getter/setter pair
Methods
-
getDefaultTextStyle(
) → TextStyle - this method will be call when textStyle is not defined defaultFontSize Optional, defines the font size to use when the a Style is not define, default value: 18 defaultTextColor Optional, defines the main color to get use when the a Style is not define, default value: Colors.black
-
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