Dn-a / flutter_inner_drawer

Inner Drawer is an easy way to create an internal side section (left/right) where you can insert a list-menu or other.
https://pub.dartlang.org/packages/flutter_inner_drawer
MIT License
516 stars 130 forks source link

Fix for cast widget list for dart null safety #72

Closed rafaelsetragni closed 3 years ago

rafaelsetragni commented 3 years ago

Fix for error "type 'List<Widget?>' is not a subtype of type 'List' in type cast"

════════ (10) Exception caught by scheduler library ════════════════════════════════════════════════ Null check operator used on a null value ════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (11) Exception caught by widgets library ══════════════════════════════════════════════════ type 'List<Widget?>' is not a subtype of type 'List' in type cast The relevant error-causing widget was: InnerDrawer-[LabeledGlobalKey#9215e] ════════════════════════════════════════════════════════════════════════════════════════════════════

joshbenaron commented 3 years ago

Can this be merged and released please?

EDIT: I pulled your branch and it didn't compile. Could you at least fix on git?