Afifah
Results
2
comments of
Afifah
I had this issue and to solve this, I added multiDexEnabled: true in /android/app/build.gradle. Like this: defaultConfig { ... minSdkVersion 16 targetSdkVersion 29 multiDexEnabled true } It works for me.
I got same issue. For me, I edited the library directly. In flutter_datetime_picker.dart, add 'as' in the 'import'. `library flutter_datetime_picker;` `import 'package:flutter_datetime_picker/src/datetime_picker_theme.dart' as dpt;` Then, change `DatePickerTheme` to `dpt.DatePickerTheme`.