TechnoUrmish / Sizer

A flutter plugin for Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple.
MIT License
240 stars 73 forks source link

LateInitializationError: Field 'width' has not been initialized. #49

Open FrankBenicio opened 2 years ago

FrankBenicio commented 2 years ago
Text( 
    "Adress"
    , style: TextStyle(  fontSize: 16.sp )

The following LateError was thrown building Widget(dirty, dependencies: [MediaQuery]): LateInitializationError: Field 'width' has not been initialized.

GrrMoura commented 2 years ago

work for me...

Sizer( builder: (context, orientation, deviceType) { return MaterialApp(); } )

Narven commented 1 year ago

Please check https://github.com/TechnoUrmish/Sizer/issues/57