Last active
July 16, 2020 19:06
-
-
Save kauemurakami/b9aae348d67744fede76075c93d8e836 to your computer and use it in GitHub Desktop.
pages navigation
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:get/get.dart'; | |
import 'package:getx_pattern/app/ui/android/details/details_page.dart'; | |
import 'package:getx_pattern/app/ui/android/home/home_page.dart'; | |
part './app_routes.dart'; | |
class AppPages { | |
static final routes = [ | |
GetPage(name: Routes.INITIAL, page:()=> HomePage(),), | |
GetPage(name: Routes.DETAILS, page:()=> DetailsPage(), binding: DetailsBinding()), //dependencias de details via rota | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment