...
isRequired
: Developers can make a field mandatory / non-mandatory for the users based on theisRequired
value as true/false. (*) indicates mandatory field.requiredMessage
: Customise your error validation message usingrequiredMessage
variablefirstDate
:firstDate
is the date, from which the calendar starts. By default, it is selected as the first date of the year 1900.lastDate
:lastDate
is the date, till which the dates can be selected from the calendar. By default, it i selected as the last date of the year 2100.initialDate
: If we want to get the date selected by default , then we can set that date value toinitialDate
variable. By default, it is selected as today’s date
Widgets used from Flutter Material Library
...