curved_nav_bar 0.0.2 curved_nav_bar: ^0.0.2 copied to clipboard
Bottom nav bar with FAB, You can use FAB as a middle tab or perform other operations like, open popup or open camera.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add curved_nav_bar
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
curved_nav_bar: ^0.0.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:curved_nav_bar/curved_bar/curved_action_bar.dart';
import 'package:curved_nav_bar/fab_bar/fab_bottom_app_bar.dart';
import 'package:curved_nav_bar/fab_bar/fab_bottom_app_bar_item.dart';
import 'package:curved_nav_bar/flutter_curved_bottom_nav_bar.dart';