Created
March 24, 2019 03:33
-
-
Save sahoosunilkumar/d85d1e8fab58a5d2887eeeabcf7de180 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'features/home/home.dart'; | |
import 'features/login/login.dart'; | |
final routes = <String, WidgetBuilder>{ | |
ScreenName.LoginPage.toString(): (context) => LoginPage(), | |
ScreenName.HomePage.toString(): (context) => HomePage(), | |
}; | |
enum ScreenName { LoginPage, HomePage } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment