form_bloc icon indicating copy to clipboard operation
form_bloc copied to clipboard

Remove warnings about Operand of null-aware operation on WidgetsBinding

Open hoffmannkrzysztof opened this issue 3 years ago • 4 comments

In flutter3.0 WidgetsBinding and SchedulerBinding are now non-nullable. To be backward compatible with flutter2.x and get rid of warning we need to implement this solution: https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#if-you-see-warnings-about-bindings

hoffmannkrzysztof avatar Jun 09 '22 10:06 hoffmannkrzysztof

@WahdanZ Any time for review? This will fix #309

aaassseee avatar Jun 09 '22 11:06 aaassseee

@hoffmannkrzysztof

This is not the first time when form_bloc has issues with delivery

Today I removed last piece of code and form_bloc as dependancy.

I recommend you pay attaention to reactive_forms

  • form itself https://pub.dev/packages/reactive_forms
  • a lot of prebuilt widgets ready to use https://github.com/artflutter/reactive_forms_widgets
  • code gen for strictly typed forms https://github.com/artflutter/reactive_forms_generator

vasilich6107 avatar Jun 23 '22 10:06 vasilich6107

Can you please merge this fix, @GiancarloCode ? Thank you.

rlimberger avatar Aug 28 '22 23:08 rlimberger

@rlimberger "All hope abandon ye who enter here"(Dante) ;-)

vasilich6107 avatar Aug 29 '22 05:08 vasilich6107

LGTM

GiancarloCode avatar Aug 24 '23 15:08 GiancarloCode