FormMonthFieldPicker constructor
const
FormMonthFieldPicker({})
Class that defines a picker style for selecting dates.
日付を選択するためのピッカースタイルを定義するクラス。
Implementation
const FormMonthFieldPicker({
this.defaultDateTime,
this.monthSuffix = "",
this.yearSuffix = "",
this.yearFormat = "yyyy",
this.backgroundColor,
this.day,
this.lastDayOfMonth,
this.color,
this.begin,
this.end,
this.confirmText = "Confirm",
this.cancelText = "Cancel",
}) : assert(
lastDayOfMonth == null || day == null,
"You can't set both lastDayOfMonth and day.",
),
assert(
day == null || day > 0 && day <= 31,
"day must be 1-31.",
);