- ๐จ Beautiful full screen UI.
- ๐ Infinity scrolling.
- ๐ Null safe.
- ๐ค Android, ๐ iOS, ๐ Web, ๐ MacOS, ๐ช Windows and ๐ง Linux.
- ๐ช Fully tested.
Picker screen | 17th of june is highlighted |
---|---|
DateTime selectedDate = await Navigator.push(context, MaterialPageRoute(builder: (_) => FullScreenDatePicker()));
DateTime selectedDate = await Get.to(FullScreenDatePicker());
4- The returned value (which is an instance of DateTime) can be used however you like, here's an example:
DateTime selectedDate = await Get.to(FullScreenDatePicker());
print(DateFormat('d/M/y').format(selectedDate)); // output: 13/06/2021
Please note that you'll have to import the package intl to be able to use the format method presented in the example.