FieldDatePicker class

Displays a grid of days for a given month and allows the user to select a date.

Days are arranged in a rectangular grid with one column for each day of the week. Controls are provided to change the year and month that the grid is showing Use this with DateTime fields to input dates.

All properties are optional. initialDate is set to current date if not provided. firstDate is set to current date if not provided. lastDate is set to firstDate if provided else current date if not provided.

Constructors

FieldDatePicker({bool? autofocus, String? errorFormatText, String? errorInvalidText, String? fieldHintText, String? fieldLabelText, String? selectableDayPredicate, String? firstDate, String? lastDate, String? initialDate})
const

Properties

autofocus bool?
final
errorFormatText String?
final
errorInvalidText String?
final
fieldHintText String?
final
fieldLabelText String?
final
firstDate String?
final
hashCode int
The hash code for this object.
no setterinherited
initialDate String?
final
lastDate String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectableDayPredicate String?
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