DEV Community


Discussion on: Why use Reactive Forms in Flutter?

ctechdev profile image

Could you provide a working code example for ReactiveDatePicker?
I am trying but I always get an error "Invalid date format".
My code:
var last = ();
var firstDate= DateTime.parse ('2021-01-16');
ReactiveDatePicker (
formControlName: 'birthDate',
firstDate: firstDate,
lastDate: last,
builder: (context, picker, child) {
return IconButton (
onPressed: picker.showPicker,
icon: Icon (Icons.date_range));

joanpablo profile image
Joan Pablo Author

Hi @ctechdev ,

I have released new versions of the package (v10.2.0). Have you test it? Have you created an issue in the github repo?