size_adapter 0.0.1 size_adapter: ^0.0.1 copied to clipboard
Supercharge Flutter responsiveness! Scale your app effortlessly for pixel-perfect layouts on all screens. Get responsive with size_adapter!
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add size_adapter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
size_adapter: ^0.0.1
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:size_adapter/size_adapter.dart';