flutter_responsive_ui 0.1.2 flutter_responsive_ui: ^0.1.2 copied to clipboard
This flutter package allows you to resize font responsively and get to know what kind of device the app is running on.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_responsive_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_responsive_ui: ^0.1.2
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:flutter_responsive_ui/flutter_responsive_ui.dart';