diegoveloper / flutter-samples

Flutter Samples
MIT License
3.1k stars 745 forks source link

fix: removes most warnings #28

Closed Ascenio closed 3 years ago

Ascenio commented 3 years ago

Changes

Fixes most dart warnings related to Flutter 2.0.

Discussion

I've tried to migrate Android to Flutter embedding but I've found no alternatives to getFlutterView().getViewTreeObserver() and such so I kept it the same. Setting transparency should be as easy as overriding getTransparencyMode but I've no clue about the fullscreen thing.

diegoveloper commented 3 years ago

Thanks for the contribution!