Created
June 17, 2019 10:13
-
-
Save flutter-devs/ffcbef6e9f40fcac4b6a81d9ba881778 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
class Constants{ | |
static String SPLASH_SCREEN='SPLASH_SCREEN'; | |
static String HOME_SCREEN='HOME_SCREEN'; | |
static List<CardItem> initializeList(List<CardItem> itemList){ | |
itemList = [ | |
CardItem(content: JAVA, cardColor: BROWN_COLOR), | |
CardItem(content: PHP, cardColor: RED_COLOR), | |
CardItem(content: KOTLIN, cardColor: ORANGE_COLOR), | |
CardItem(content: FLUTTER, cardColor: BLUE_COLOR), | |
CardItem(content: NODEJS, cardColor: GREEN_COLOR), | |
]; | |
return itemList; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment