Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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