auto_sizer 0.0.4 copy "auto_sizer: ^0.0.4" to clipboard
auto_sizer: ^0.0.4 copied to clipboard

根据设计图尺寸自动适配各种像素密度的屏幕

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_sizer

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  auto_sizer: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:auto_sizer/auto_sizer.dart';
3
likes
55
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

根据设计图尺寸自动适配各种像素密度的屏幕

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on auto_sizer

Packages that implement auto_sizer