size_config 1.0.1
size_config: ^1.0.1 copied to clipboard
Responsive UI is a must in today's world. We have devices of several sizes, like smart phones and tablets which differ in sizes and there we require a responsive UI which changes it's size based on si [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add size_configThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
size_config: ^1.0.1Alternatively, 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_config/size_config.dart';