responsive_mediaquery 0.1.0 responsive_mediaquery: ^0.1.0 copied to clipboard
Make your apps responsive by using this package. This package allows you to use mediaQuery in a much better way. In this package the screen is divided 100 units by height and width, which can help us [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add responsive_mediaquery
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
responsive_mediaquery: ^0.1.0
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:responsive_mediaquery/responsive_mediaquery.dart';