adaptive_ui_layout 1.0.1 adaptive_ui_layout: ^1.0.1 copied to clipboard
Adaptive UI Layout helps implement a responsive layout by providing helper widgets and extensions
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add adaptive_ui_layout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
adaptive_ui_layout: ^1.0.1
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:adaptive_ui_layout/flutter_responsive_layout.dart';
import 'package:adaptive_ui_layout/screen_extension.dart';
import 'package:adaptive_ui_layout/screen_layout.dart';
import 'package:adaptive_ui_layout/screen_utils.dart';
import 'package:adaptive_ui_layout/widget.dart';
import 'package:adaptive_ui_layout/widget_extension.dart';