FormMonthFieldPicker class

Class that defines a picker style for selecting dates.

日付を選択するためのピッカースタイルを定義するクラス。

Available Extensions
Annotations

Constructors

FormMonthFieldPicker({DateTime? defaultDateTime, String monthSuffix = "", String yearSuffix = "", String yearFormat = "yyyy", Color? backgroundColor, int? day, bool? lastDayOfMonth, Color? color, DateTime? begin, DateTime? end, String confirmText = "Confirm", String cancelText = "Cancel"})
Class that defines a picker style for selecting dates.
const

Properties

backgroundColor Color?
Background color of the picker.
final
begin DateTime?
Specify the first year and month to be selected.
final
cancelText String
Text of the button to cancel the picker.
final
color Color?
Foreground view of the picker.
final
confirmText String
Text of the button that confirms the picker's content.
final
day int?
Set the date to day when outputting as DateTime.
final
defaultDateTime DateTime?
Default value when not selected.
final
end DateTime?
Specify the last year and month to be selected.
final
hashCode int
The hash code for this object.
no setterinherited
lastDayOfMonth bool?
Set the date to the end of the month when outputting as DateTime.
final
monthSuffix String
Suffix of the Month.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
yearFormat String
Format of the year.
final
yearSuffix String
Suffix in year.
final

Methods

build(BuildContext context, DateTime? currentDateTime) Future<DateTime?>
Build the picker.
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