Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

listview.separated flutter

ListView.separated(
  itemCount: 25,
  separatorBuilder: (BuildContext context, int index) => Divider(),
  itemBuilder: (BuildContext context, int index) {
    return ListTile(
      title: Text('item $index'),
    );
  },
)
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter
ADD COMMENT
Topic
Name
4+1 =