skip to Main Content

Is there a way to make a infinite scroll for GridView in Flutter?

Can I add a CircularProgressIndicator() to the end of the GridView every time the bool isLoadingPosts is true? Widget imagePostsWidget = imagePosts != null ? GridView.builder( physics: BouncingScrollPhysics(), controller: ProfileScreen.scrollController, padding: EdgeInsets.only(top: 3), gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: 3), itemCount: imagePosts.length, itemBuilder: (BuildContext…

VIEW QUESTION

Flutter: Gridview list with both images and videos throwing an error

I have no idea what this error message means: lib/main.dart:29:19: Error: The argument type 'Object' can't be assigned to the parameter type 'Widget?'. 'Object' is from 'dart:core'. 'Widget' is from 'package:flutter/src/widgets/framework.dart' >('../../flutter/packages/flutter/lib/src/widgets/framework.dart'). ? Image.network('https://picsum.photos/200/300') ^ Failed to compile application. body:…

VIEW QUESTION
Back To Top
Search