Skip to content

sufyanism/Flutter_Page_Navigation

Repository files navigation

Flutter Page Navigation Project

We can use Navigator.push() to move to a new path and Navigator.pop() to move to the previous path. The route is managed by the Navigator widget. The Navigator manages various routes. Items can be pushed onto the stack using the push() method and popped off the stack using the pop() method. The item at the top of the stack is the current working method. The Navigator is a state widget whose state is NavigatorState. In this project, we will learn how to move from one screen to another in Flutter.

Download Flutter

  • Visit the official Flutter site https://docs.flutter.dev/get-started/install
  • Extract the downloaded file, e.g., C:\src\flutter.
  • Add the flutter/bin directory to your system's 'PATH' (Settings are : Open Control Panel > System and Security > System > Advanced system settings > Environment Variables > System variables section, find the Path )
  • flutter doctor (Run Flutter Doctor)

To run the existing project

  • Extract the folder copy it to desired location
  • Move into the folder open Command prompt
  • Run flutter run

if not working ( create new project )

  • flutter create my_flutter_app (project name could be anything) (Installation and setup )
  • cd my_flutter_app (navigate to the project)
  • flutter run (Run the project)
  • Paste the files of the project into new setup just by coping.

Features

You can get an idea how to use Page Navigation Widgets in your project.

Screencast

page.navigation.mp4

About

Flutter Page Navigation Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages