FormDateTimeFieldDateDelegate class
Let the user select only dates FormDateTimeFieldDelegate.
You can have it selected within the range of startDate and endDate.
The default value when not selected is defaultDateTime.
dateFormat is defined as yyyyy/MM/dd(E) HH:mm
.
日付のみを選択させるFormDateTimeFieldDelegate。
startDateとendDateの範囲内で選択させることができます。
選択されていない場合の初期値がdefaultDateTimeになります。
dateFormatはyyyy/MM/dd(E)
が定義されます。
- Inheritance
-
- Object
- FormDateTimeFieldDelegate
- FormDateTimeFieldDateDelegate
- Available Extensions
Constructors
- FormDateTimeFieldDateDelegate({DateTime? startDate, DateTime? endDate, DateTime? defaultDateTime, String? helpText, String? cancelText, String? confirmText, Locale? locale, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, DatePickerMode initialDatePickerMode = DatePickerMode.day, String dateFormat = "yyyy/MM/dd(E)", Color? backgroundColor, Color? foregroundColor, Color? primaryColor, Color? onPrimaryColor, Color? headerBackgroundColor, Color? headerForegroundColor})
-
Let the user select only dates FormDateTimeFieldDelegate.
const
Properties
- backgroundColor → Color?
-
Background color of the picker.
finalinherited
- cancelText → String?
-
Picker cancel text.
finalinherited
- confirmText → String?
-
The definitive text of the picker.
finalinherited
- dateFormat → String
-
Define date and time formats.
finalinherited
- defaultDateTime → DateTime?
-
Default value if not selected.
finalinherited
- endDate → DateTime?
-
The most recent date to be selected.
finalinherited
- errorFormatText → String?
-
Text to be displayed if a formatting error occurs.
finalinherited
- errorInvalidText → String?
-
Text in case of some error.
finalinherited
- fieldHintText → String?
-
Hint text for text fields in the dialog.
finalinherited
- fieldLabelText → String?
-
Label text for text fields in the dialog.
finalinherited
- foregroundColor → Color?
-
Picker text color.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBackgroundColor → Color?
-
Picker header background color.
finalinherited
- headerForegroundColor → Color?
-
Picker header foreground color.
finalinherited
- helpText → String?
-
Hint text to be displayed in the picker.
finalinherited
- initialDatePickerMode → DatePickerMode
-
Element that appears at the beginning of the dialog.
finalinherited
- locale → Locale?
-
Dialog locale.
finalinherited
- onPrimaryColor → Color?
-
Picker on primary color.
finalinherited
- primaryColor → Color?
-
Picker primary color.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate → DateTime?
-
The earliest date to be selected.
finalinherited
Methods
-
format(
DateTime dateTime) → String -
Pass DateTime to get String.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String dateTimeString) → DateTime -
Pass String to get DateTime.
inherited
-
picker(
BuildContext context, DateTime currentDateTime) → Future< DateTime> -
Callback to display picker.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited