BoardDateTimePickerSeparators class
BoardDateTimePickerSeparators is used to specify the separators for dates and times displayed in the Picker.
By default, there are no separators.
dateSeparatorBuilder specifies the widget placed between the year and month,
as well as between the month and day.
If unspecified, date value is displayed (the default is /)
timeSeparatorBuilder specifies the widget placed between the hour and minute.
If unspecified, time value is displayed (the default is :).
dateTimeSeparatorBuilder specifies the widget placed between the day and hour.
If unspecified, dateTime value is displayed (the default is none)
dateTimeSeparatorBuilder and dateTime parameter are only valid when the PickerType is set to datetime.
Constructors
- BoardDateTimePickerSeparators({PickerSeparatorBuilder? dateSeparatorBuilder, PickerSeparatorBuilder? timeSeparatorBuilder, PickerSeparatorBuilder? dateTimeSeparatorBuilder, PickerSeparator date = PickerSeparator.slash, PickerSeparator time = PickerSeparator.colon, PickerSeparator dateTime = PickerSeparator.none})
-
const
Properties
- date → PickerSeparator
-
If unspecified, the date value is displayed (the default is /)
final
- dateSeparatorBuilder → PickerSeparatorBuilder?
-
dateSeparatorBuilderspecifies the widget placed between the year and month, and between the monthfinal - dateTime → PickerSeparator
-
If unspecified, the dateTime value is displayed (the default is none)
final
- dateTimeSeparatorBuilder → PickerSeparatorBuilder?
-
dateTimeSeparatorBuilderspecifies the widget placed between day and hour.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → PickerSeparator
-
If unspecified, the time value is displayed (the default is :).
final
- timeSeparatorBuilder → PickerSeparatorBuilder?
-
timeSeparatorBuilderspecifies the widget placed between hours and minutes.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