dynamic_bottom_drawer 0.0.4 dynamic_bottom_drawer: ^0.0.4 copied to clipboard
This flutter plugin can be used to render the dynamic bottom drawer, where developer can pass the list of title and icons for the bottom drawer.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dynamic_bottom_drawer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dynamic_bottom_drawer: ^0.0.4
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:dynamic_bottom_drawer/dynamic_bottom_drawer_web.dart';
import 'package:dynamic_bottom_drawer/dynamic_bottom_drawer_with_icon.dart';
import 'package:dynamic_bottom_drawer/dynamic_bottom_drawer_without_icon.dart';