qqmikey / kf_drawer

Flutter drawer (dynamic ready side menu)
MIT License
213 stars 52 forks source link

Flutter upgrade Animation<BorderRadius?> with an exception #23

Closed odproductor closed 2 years ago

odproductor commented 2 years ago

Hi! greetings! I found a issue when i updagrde flutter:

kf_drawer-1.2.0/lib/kf_drawer.dart:169:10: Error: A value of type 'Animation<BorderRadius?>' can't be assigned to a variable of type 'Animation<BorderRadius>' because 'BorderRadius?' is nullable and 'BorderRadius' isn't.

and my project no works, I appreciate your help, thanks!

huanlirui commented 2 years ago

我也遇到了! I also encountered this problem

vishnutvijay commented 2 years ago

I have the same exception now

kaitech-corp commented 2 years ago

Same

ramazantzr3433 commented 2 years ago

I have same problem but i did fix it. Just downgrade flutter 2.2.3 and it solves.

qqmikey commented 2 years ago

Release is coming...

odproductor commented 2 years ago

Release is coming...

Great! Thanks

Breaker-Chile commented 6 months ago

La solución que hice fue copiar el paquete en un directorio local, solucionar el error (modificando el archivo .dart de la solución) que por null safety es el siguiente:

Dice: borderRadius: radiusAnimation.value, Debe decir: borderRadius: radiusAnimation.value!,

y en el pubspec.yaml lo siguiente:

kf_drawer: path: /Users/xxxxxxx/Proyects/kf_drawer

Greetings from Chile!