mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
flutter pub update & various fixes (#627)
This commit is contained in:
@@ -50,7 +50,7 @@ class _HomePageState extends State<HomePage> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
_iceCreamStores = Firestore.instance
|
||||
_iceCreamStores = FirebaseFirestore.instance
|
||||
.collection('ice_cream_stores')
|
||||
.orderBy('name')
|
||||
.snapshots();
|
||||
@@ -75,13 +75,13 @@ class _HomePageState extends State<HomePage> {
|
||||
return Stack(
|
||||
children: [
|
||||
StoreMap(
|
||||
documents: snapshot.data.documents,
|
||||
documents: snapshot.data.docs,
|
||||
initialPosition: initialPosition,
|
||||
mapController: _mapController,
|
||||
),
|
||||
StoreCarousel(
|
||||
mapController: _mapController,
|
||||
documents: snapshot.data.documents,
|
||||
documents: snapshot.data.docs,
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user