TimePickerDecoration class
used to decorate the TimePicker widget.
Constructors
- TimePickerDecoration({required TimePickerSweepDecoration sweepDecoration, required TimePickerHandlerDecoration initHandlerDecoration, required TimePickerHandlerDecoration endHandlerDecoration, Color baseColor = Colors.cyanAccent, double pickerBaseCirclePadding = 0.0, TimePickerSectorDecoration? primarySectorsDecoration, TimePickerSectorDecoration? secondarySectorsDecoration, TimePickerClockNumberDecoration? clockNumberDecoration, SystemMouseCursor mouseCursorForWeb = SystemMouseCursors.click})
Properties
- baseColor → Color
-
defines the background color of the picker
Default Value: Colors.cyanAccent
final
- clockNumberDecoration → TimePickerClockNumberDecoration?
-
Provides decoration options which will get applied to the internal clock's numbers when enable
Default Value: NULL
final
- endHandlerDecoration → TimePickerHandlerDecoration
-
See also: TimePickerHandlerDecoration
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initHandlerDecoration → TimePickerHandlerDecoration
-
See also: TimePickerHandlerDecoration
final
- mouseCursorForWeb → SystemMouseCursor
-
Used to set SystemMouseCursor for PanGestureRecognizer only on WEB
default value: SystemMouseCursors.click
final
- pickerBaseCirclePadding → double
-
to add extra padding for picker base or outer circle
final
- primarySectorsDecoration → TimePickerSectorDecoration?
-
this optional decorator provides option which will get applied to the secondary Divider when enable
if
primarySectors
is not defined then this setting are not needed whenprimarySectors
is set, and secondaryDividerDecoration == null the dividers will use default values from TimePickerSectorDecoration Default Value: NULLfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondarySectorsDecoration → TimePickerSectorDecoration?
-
this optional decorator provides option which will get applied to the secondary Divider when enable
if
secondarySectors
is not defined then this setting are not needed whensecondarySectors
is set, and secondaryDividerDecoration == null the dividers will use default values from TimePickerSectorDecoration Default Value: NULLfinal - sweepDecoration → TimePickerSweepDecoration
-
See also: TimePickerSweepDecoration
final
Methods
-
copyWith(
{TimePickerSweepDecoration? sweepDecoration, TimePickerHandlerDecoration? initHandlerDecoration, TimePickerHandlerDecoration? endHandlerDecoration, Color? baseColor, double? radiusPadding, TimePickerSectorDecoration? primaryClockSectorDecoration, TimePickerSectorDecoration? secondaryClockSectorDecoration, TimePickerClockNumberDecoration? clockIndicatorDecoration}) → TimePickerDecoration -
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