CupertinoDateTextBox constructor
CupertinoDateTextBox({
- required DateTime initialValue,
- required Function onDateChange,
- required String hintText,
- Color color = CupertinoColors.label,
- Color hintColor = CupertinoColors.inactiveGray,
- Color pickerBackgroundColor = CupertinoColors.systemBackground,
- double fontSize = 17.0,
- double textfieldPadding = 15.0,
- bool enabled = true,
A text box widget which displays a cupertino picker to select a date if clicked
Implementation
CupertinoDateTextBox(
{required this.initialValue,
required this.onDateChange,
required this.hintText,
this.color = CupertinoColors.label,
this.hintColor = CupertinoColors.inactiveGray,
this.pickerBackgroundColor = CupertinoColors.systemBackground,
this.fontSize = 17.0,
this.textfieldPadding = 15.0,
this.enabled = true});