adaptable_screen 0.0.1 adaptable_screen: ^0.0.1 copied to clipboard
This package was created to reduce the need to create a way to leave the exact sizes up to the designer. For that, the Plugin scales the sizes based on an interface size and the windows that the compo [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add adaptable_screen
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
adaptable_screen: ^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:adaptable_screen/adaptable_screen.dart';