- 🎨 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.