sp_adapter 0.0.2
sp_adapter: ^0.0.2 copied to clipboard
Screen adaptation. Make UI scale proportionally on different screen sizes.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sp_adapterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sp_adapter: ^0.0.2Alternatively, 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:sp_adapter/sp_adapter.dart';