IDSDatePickerTile constructor
const
IDSDatePickerTile({
- Key? key,
- required String label,
- required TextEditingController controller,
- required VoidCallback onDateTap,
- String hintText = "Select date",
- Color borderColor = Colors.grey,
- Color iconColor = Colors.blue,
- double borderRadius = 8.0,
Creates a labeled date picker tile with a read-only input field.
The label
, controller
, and onDateTap
parameters are required.
Implementation
const IDSDatePickerTile({
super.key,
required this.label,
required this.controller,
required this.onDateTap,
this.hintText = "Select date",
this.borderColor = Colors.grey,
this.iconColor = Colors.blue,
this.borderRadius = 8.0,
});