screenresize

Screen size based on your design.

Getting Started

You can resize your screen by this package. It will help you to make the app's size based on design page size.

Usage

To use this plugin, add screenresize as a dependency in your pubspec.yaml file.

Documentory

github repositoryhttps://github.com/salimmurshed/example/blob/master/lib/main.dart

At first you need to put the below code into initState\n Screens.i(width: 375, height: 812); //inside the InitState

and it looks like that

 @override
  void initState() {
    super.initState ();
    Screens.i(width: 375, height: 812);    //inside the InitState
  }

now you can use those as you want by the below coding

  width: Screen().Size(100),
  height: Screen().Size(100),
  fontSize: Screen().Size(32),

Libraries

Screenresize
hello