skip to Main Content

scrollable homepage doesn't scroll well – Flutter

Flexible( child: StreamBuilder( stream: ref.snapshots(), builder: (context,AsyncSnapshot<QuerySnapshot> snapshot){ if(snapshot.hasError){ return Center( child: Text("Error: ${snapshot.error}"), ); } //here what widget should i add return Scrollbar( child: GridView.builder( shrinkWrap: true, gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 2, mainAxisSpacing: 15, crossAxisSpacing: 15, childAspectRatio: 2/3, ), i…

VIEW QUESTION
Back To Top
Search