• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Dart
  • License
    BSD 3-Clause "New...
  • Created over 5 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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作者。