Codelessly / ResponsiveFramework

Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/
https://codelessly.com
MIT License
1.26k stars 150 forks source link

Suggestion for minor code improvement #92

Closed Eerey closed 1 year ago

Eerey commented 2 years ago

Row 671 @responsive_wrapper.dart

    // Platform initialization requires context.
    setPlatform();

Just a small suggestion: ->> setPlatform(); could be moved to initState, because the context is retrievable there and it keeps the build method more clean.