Created
August 14, 2020 06:08
-
-
Save iabhishek07/f182f7a2d54798c07de5f3340b710a16 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 CharInfo { | |
final int position; | |
final String rating; | |
final String game; | |
final String name; | |
final String image; | |
final String size; | |
final String power; | |
final List<String> images; | |
CharInfo( | |
this.position, { | |
this.name, | |
this.game, | |
this.image, | |
this.rating, | |
this.images, | |
this.size, | |
this.power, | |
}); | |
} | |
List<CharInfo> characters = [ | |
CharInfo( | |
1, | |
rating: '4.8', | |
name: 'Bird Red', | |
image: 'assets/images/red.png', | |
game: 'ANGRY BIRDS', | |
size: 'medium', | |
power: 'most angry', | |
images: [ | |
'https://assets-production.rovio.com/s3fs-public/styles/product_grid_image/public/Game%20icons/ab_blast_icon_2019.jpg?binl9dTZg5cS7s.sdo0XVAUl9gcXCZvK&itok=ci8Tz-6b', | |
'https://assets-production.rovio.com/s3fs-public/styles/product_grid_image/public/Game%20icons/ab_friends_icon_2019.jpg?KnQddKrSDx2A1bEIvnCN1cSNB2TPBsgv&itok=wyvCOdUw', | |
'https://assets-production.rovio.com/s3fs-public/styles/product_grid_image/public/Game%20icons/ab_blast_icon_2019.jpg?binl9dTZg5cS7s.sdo0XVAUl9gcXCZvK&itok=ci8Tz-6b', | |
], | |
), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment