Skip to content

Instantly share code, notes, and snippets.

@flutter-devs
Created June 17, 2019 10:13
Show Gist options
  • Save flutter-devs/ffcbef6e9f40fcac4b6a81d9ba881778 to your computer and use it in GitHub Desktop.
Save flutter-devs/ffcbef6e9f40fcac4b6a81d9ba881778 to your computer and use it in GitHub Desktop.
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