When building a flet apk through
flet build apk --include-package requests,
the flutter compiler fails with the following error.
Because flet 0.25.2 depends on http ^1.2.2 and requests >=4.1.0 depends on http ^0.13.4, flet 0.25.2 is incompatible with requests >=4.1.0. And because requests <4.1.0 doesn't support null safety, flet 0.25.2 is incompatible with requests. So, because urenregistratie depends on both flet 0.25.2 and requests any, version solving failed.
The lower bound of "sdk: '>=2.0.0 <3.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety
- Flet version => 0.25.2
- Flutter version => 3.24.5
- Dart version => 3.5.4
the following ive tried:
- downgrading flutter and dart
- downgrading flet
- upgrading flutter packages