listview.builder in sliver app bar code example
Example: listview.builder in sliver app bar
return Scaffold(
body: CustomScrollView(
slivers: [
SliverAppBar(
title: Text("Sliver"),
),
SliverToBoxAdapter(
child: ListView.builder(
primary: false,
shrinkWrap: true,
itemCount: this.length,
itemBuilder: (BuildContext context, int position){
return QuoteTemplate(items[position]);
},
),
),
],
),
);