Date Wheel - FUICalendarDateWheel

The FUICalendarDateWheel is a widget that enables users to select a desired date. It features a pagable year and scrollable/selectable dates.
Widget Class Location
The FUICalendarDateWheel widget class could be found in:
The FUICalendarTheme class is the theme class holds the default theme variables/values.
Accessing the theme
To access the theme class object, do the following:
Usage
Here is a typical usage example:
To set the initial date
Using the controllers
The FUICalendarDateWheel utilizes several controllers, including:
The year pager (
FUICalendarDateWheelYearController) - responsible for programmatically selecting the yearThe date controller (
FUICalendarDateWheelDateController) - responsible for programmatically assigning the date
To select or navigate the year
To select a specific date
Parameters
Parameters | Description |
|---|---|
FUIColorScheme fuiColorScheme | The color scheme for the |
DateTime? initialSelectedDate | Assign the initial selected date. |
FUICalendarDateWheelYearController? yearPager | Assign the year pager controller. |
FUICalendarDateWheelDateController? dateController | Assign the date controller. |
ValueChanged\<DateTime\>? onDateChanged | Callback function when the selected date has changed. |
Icon? prevYearBtnIcon | The icon for the previous year pager button. |
Icon? nextYearBtnIcon | The icon for the next year pager button. |
TextStyle? yearTextStyle | The text style for the year display. |
TextStyle? monthTextStyle | The text style for the month display. |
TextStyle? monthSelectedTextStyle | The text style for the selected month display. |
TextStyle? dayTextStyle | The text style for the day display. |
TextStyle? daySelectedTextStyle | The text style for the selected day display. |
TextStyle? dateTextStyle | The text style for the date display. |
TextStyle? dateSelectedTextStyle | The text style for the selected date display. |
Other Parameters
For other parameters, please refer to the documentation found in https://pub.dev/packages/scrollable_positioned_list.