UiDatePicker constructor

const UiDatePicker({
  1. Key? key,
  2. required void onSelected(
    1. DateTime value
    ),
  3. TextStyle? textStyle,
  4. Locale? locale,
  5. required DateTime firstDate,
  6. required DateTime lastDate,
  7. Color backgroundColor = Colors.white,
  8. IconData icon = Icons.calendar_month,
})

Implementation

const UiDatePicker({super.key, required this.onSelected, this.textStyle, this.locale, required this.firstDate, required this.lastDate, this.backgroundColor = Colors.white, this.icon = Icons.calendar_month});