IDSDatePickerTile constructor

const IDSDatePickerTile({
  1. Key? key,
  2. required String label,
  3. required TextEditingController controller,
  4. required VoidCallback onDateTap,
  5. String hintText = "Select date",
  6. Color borderColor = Colors.grey,
  7. Color iconColor = Colors.blue,
  8. 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,
});