|
|
|
|
|
|
SelectableDayPredicate selectableDayPredicate = null, |
|
|
|
DatePickerMode initialDatePickerMode = DatePickerMode.day, |
|
|
|
Locale locale = null, |
|
|
|
TextDirection textDirection = TextDirection.ltr, |
|
|
|
TransitionBuilder builder = null |
|
|
|
) { |
|
|
|
D.assert(initialDate >= firstDate, () => "initialDate must be on or after firstDate"); |
|
|
|
|
|
|
lastDate: lastDate, |
|
|
|
selectableDayPredicate: selectableDayPredicate, |
|
|
|
initialDatePickerMode: initialDatePickerMode |
|
|
|
); |
|
|
|
|
|
|
|
child = new Directionality( |
|
|
|
textDirection: textDirection, |
|
|
|
child: child |
|
|
|
); |
|
|
|
|
|
|
|
if (locale != null) { |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
MaterialLocalizations localizations; |
|
|
|
TextDirection textDirection; |
|
|
|
this.textDirection = Directionality.of(this.context); |
|
|
|
} |
|
|
|
|
|
|
|
DateTime _todayDate; |
|
|
|
|
|
|
|
|
|
|
bool _announcedInitialDate = false; |
|
|
|
public MaterialLocalizations localizations; |
|
|
|
public TextDirection textDirection; |
|
|
|
this.textDirection = Directionality.of(this.context); |
|
|
|
if (!this._announcedInitialDate) { |
|
|
|
this._announcedInitialDate = true; |
|
|
|
} |
|
|
|