widgets/inputs/date_picker
library
Functions
-
showDatePicker(BuildContext context, {DateTime? initialDate, DateTime? firstDate, DateTime? lastDate, String title = 'Select Date', String? locale})
→ Future<DateTime?>
-
Shows a rich, modern modal bottom sheet date picker styled with Nash UI tokens.
-
showDateRangePicker({required BuildContext context, DateTime? firstDate, DateTime? lastDate, DateTimeRange<DateTime>? initialDateRange, DateTimeRange<DateTime>? initialRange, String title = 'Select Date Range'})
→ Future<DateTimeRange<DateTime>?>
-
Shows a date range picker modal with quick preset chips (Today, This Week, This Month, etc.).
-
showNashDateRangePicker(BuildContext context, {DateTime? firstDate, DateTime? lastDate, DateTimeRange<DateTime>? initialDateRange, DateTimeRange<DateTime>? initialRange, String title = 'Select Date Range'})
→ Future<DateTimeRange<DateTime>?>
-
Alias for showDateRangePicker with positional context.