Skip to content

Flutter Auto Size,全局屏幕适配。问题太多,暂不建议大家使用,谢谢!

License

Notifications You must be signed in to change notification settings

flutterchina/auto_size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto_size

Flutter 屏幕适配,Flutter AutoSize plugin。

注意

本库暂未正式发布,希望大家帮忙测试。如有任何问题请及时反馈,谢谢大家!

使用方式

Step 1:
dependencies:
  auto_size:
    git:
      url: git://github.com/flutterchina/auto_size.git  
      
Step 2:
flutter packages get  
  
Step 3import 'package:auto_size/auto_size.dart';

/// 默认设计稿尺寸360*640,单位dp。
void main() => runAutoSizeApp(MyApp());

void main() => runAutoSizeApp(MyApp(), width: designWidth, height: designeight);

Abort

本库屏幕适配Idea来源genius158作者。

About

Flutter Auto Size,全局屏幕适配。问题太多,暂不建议大家使用,谢谢!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published