sequential_navigator 0.0.1 sequential_navigator: ^0.0.1 copied to clipboard
A new Flutter package project.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sequential_navigator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
sequential_navigator: ^0.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:sequential_navigator/main.dart';
import 'package:sequential_navigator/sequential_navigator/constants/database_constants.dart';
import 'package:sequential_navigator/sequential_navigator/constants/ui_constants.dart';
import 'package:sequential_navigator/sequential_navigator/database/state_crud.dart';
import 'package:sequential_navigator/sequential_navigator/services/navigator_services.dart';
import 'package:sequential_navigator/sequential_navigator/services/next_page_footer.dart';
import 'package:sequential_navigator/sequential_navigator/services/previous_page_header.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/line.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/navigator_subtitle.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/navigator_title.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/navigator_title_animation.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/next_button.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/number_button.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/number_button_animation.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/page_sliver.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/page_view_animator.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/previous_button.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/sequential_navigator.dart';
import 'package:sequential_navigator/sequential_navigator/widgets/sequential_page.dart';