ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Follow publication

Flutter: Multi Page Applications with Routes

Member-only story

Flutter: Multi Page Applications With Routes

Daksh Gupta
ProAndroidDev
Published in
5 min readJul 7, 2019

Flutter is a mobile App SDK by Google which helps in creating modern mobile apps for iOS and Android using a single(almost) code base.

Unlike other frameworks like React Native, it neither uses JavaScript as a Programming Language nor it needs an interpreter bridge to convert JavaScript code into native code, instead, it compiles directly into Arm binaries and runs on the native platform.

A Mobile App is generally built for displaying multiple contents which can’t be accommodated in a single screen. Even if we manage somehow, it will create a maintenance overhead as any change would impact the rest of the screen. Furthermore, a cluttered screen can take the attention of users away from your valuable functionalities.

Flutter provides what we call as routes to enable multi page application within a MaterialApp . If you’re not comfortable with Material Design in Flutter, I’ll highly recommend you to read this post on the same topic.

To properly understand the requirements of multi page application, let create a basic Material Design App which provides two options to the user.

  1. Login to App using Email.
  2. Login as Guest.

Let’s provide these two options using FlatButton widget so that we can handle the user’s choice. Here…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Published in ProAndroidDev

The latest posts from Android Professionals and Google Developer Experts.

Written by Daksh Gupta

🔹Software Product Development Catalyst 🔹 Tech Speaker & Content Creator 🔹 Bio @ https://CodeSportsAi.Tech

Responses (4)

Write a response