Created
December 10, 2019 13:45
-
-
Save mukireus/d4553ae29237b00104a2ed965c3e69c1 to your computer and use it in GitHub Desktop.
home_list.dart
This file contains hidden or 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 'package:flutter_template_login/screens/grape_login.dart'; | |
import 'package:flutter_template_login/screens/muz_login.dart'; | |
import 'package:flutter_template_login/ui/ui_helper.dart'; | |
class HomeList { | |
Widget navigateScreen; | |
String imagePath; | |
HomeList({ | |
this.navigateScreen, | |
this.imagePath = '', | |
}); | |
static List<HomeList> homeList = [ | |
HomeList( | |
imagePath: UIHelper.muzPhoto, | |
navigateScreen: MuzLogin(), | |
), | |
HomeList( | |
imagePath: UIHelper.grapePhoto, | |
navigateScreen: GrapeLogin(), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment