Skip to content

Instantly share code, notes, and snippets.

@RafaelBarbosatec
Created September 4, 2018 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RafaelBarbosatec/11a2e91cdc8cd6034e135bd3b5b5479f to your computer and use it in GitHub Desktop.
Save RafaelBarbosatec/11a2e91cdc8cd6034e135bd3b5b5479f to your computer and use it in GitHub Desktop.
Widget _getListCategory(){
ListView listCategory = new ListView.builder(
itemCount: _categorys.length,
scrollDirection: Axis.horizontal,
itemBuilder: (context, index){
return _buildCategoryItem(index);
}
);
return new Container(
height: 55.0,
child: listCategory,
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment