responsive_widgets2 2.1.0 copy "responsive_widgets2: ^2.1.0" to clipboard
responsive_widgets2: ^2.1.0 copied to clipboard

This a fork of responsive_widgets. This plugin helps to create responsive widgets, that makes an auto-size with the proportion between reference ScreenSize and the screen that the app is running.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add responsive_widgets2

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  responsive_widgets2: ^2.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_widgets2/responsive_widgets.dart';
import 'package:responsive_widgets2/responsive_widgets_nullsafety.dart';
import 'package:responsive_widgets2/widgets/container_responsive_widget.dart';
import 'package:responsive_widgets2/widgets/edge_insets_responsive.dart';
import 'package:responsive_widgets2/widgets/sized_box_responsive_widget.dart';
import 'package:responsive_widgets2/widgets/text_responsive_widget.dart';
2
likes
80
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

This a fork of responsive_widgets. This plugin helps to create responsive widgets, that makes an auto-size with the proportion between reference ScreenSize and the screen that the app is running.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_screenutil

More

Packages that depend on responsive_widgets2