adaptive_shell 1.0.0
adaptive_shell: ^1.0.0 copied to clipboard
An adaptive master-detail layout wrapper for Flutter. Automatically switches between BottomNavigationBar (mobile) and NavigationRail (tablet/web/desktop), showing child1 always and child2 beside it on [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add adaptive_shellWith Flutter:
$ flutter pub add adaptive_shellThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
adaptive_shell: ^1.0.0Alternatively, your editor might support dart pub get or 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_shell/adaptive_shell.dart';