The Flutter Cupertino app tutorial seems to be broken The Flutter Cupertino app tutorial seems to be broken dart dart

The Flutter Cupertino app tutorial seems to be broken


I met the same issue.Try to change slivers: const <Widget>[ to slivers: <Widget>[.


Removing the const from return CustomScrollView( fixed it for me.

  final products = model.getProducts();  return CustomScrollView( // <--- here    semanticChildCount: products.length,    slivers: <Widget>[