Created
January 13, 2020 21:19
-
-
Save vasilich6107/26192b054aa50f252cd5d57bbfd10076 to your computer and use it in GitHub Desktop.
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
final allCompanies = CompaniesData.fromJson(result.data).allCompanies; | |
return ListView.builder( | |
itemBuilder: (_, index) { | |
return ListTile( | |
leading: Icon(Icons.card_travel), | |
title: Text(allCompanies[index].name), | |
subtitle: Text(allCompanies[index].industry), | |
); | |
}, | |
itemCount: allCompanies.length, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment