Flutter Screen Auto Size,Flutter AutoSize plugin。
Add to your project with the following step. Step 1: dependencies: auto_size: git: url: git@github.com:flutter-zeus/auto_size.git
Step 2: flutter packages get
Step 3:
import 'package:auto_size/auto_size.dart';
void main() => runAutoSizeApp(MyApp());
void main() => runAutoSizeApp(MyApp(), width: designWidth, height: designeight);