FormDateTimeRangeFieldDelegate class abstract

A delegate where the form picker and formatter are defined.

フォームのピッカーやフォーマッタが定義されているデリゲート。

Implementers
Available Extensions
Annotations

Constructors

FormDateTimeRangeFieldDelegate({DateTime? startDate, DateTime? endDate, DateTimeRange? defaultDateTimeRange, String? helpText, String? cancelText, String? confirmText, Locale? locale, String? errorFormatText, String? errorInvalidText, String? fieldStartHintText, String? fieldStartLabelText, String? fieldEndHintText, String? fieldEndLabelText, DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar, required String dateFormat, String separator = " - "})
A delegate where the form picker and formatter are defined.
const

Properties

cancelText String?
Picker cancel text.
final
confirmText String?
The definitive text of the picker.
final
dateFormat String
Define date and time formats.
final
defaultDateTimeRange DateTimeRange?
Default value if not selected.
final
endDate DateTime?
The most recent date to be selected.
final
errorFormatText String?
Text to be displayed if a formatting error occurs.
final
errorInvalidText String?
Text in case of some error.
final
fieldEndHintText String?
Hint text of end date for text fields in the dialog.
final
fieldEndLabelText String?
Label text of end date for text fields in the dialog.
final
fieldStartHintText String?
Hint text of start date for text fields in the dialog.
final
fieldStartLabelText String?
Label text of start date for text fields in the dialog.
final
hashCode int
The hash code for this object.
no setterinherited
helpText String?
Hint text to be displayed in the picker.
final
initialEntryMode DatePickerEntryMode
Specifies the initial input mode.
final
locale Locale?
Dialog locale.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
Characters between the start and end dates and times.
final
startDate DateTime?
The earliest date to be selected.
final

Methods

format(DateTimeRange? dateTimeRange) String
Pass DateTimeRange to get a string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String dateTimeRangeString) DateTimeRange?
Pass a string to get DateTimeRange.
picker(BuildContext context, DateTimeRange currentDateTimeRange) Future<DateTimeRange?>
Callback to display picker.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited