Add favorites search and enriched places UI
Build and deploy Flutter Web / build (push) Successful in 2m41s
Build and deploy Flutter Web / build (push) Successful in 2m41s
This commit is contained in:
@@ -28,7 +28,11 @@ class MapflowWidgetbook extends StatelessWidget {
|
||||
builder: (_) => Center(
|
||||
child: SizedBox(
|
||||
height: 172,
|
||||
child: PlacePhotoCard(place: _samplePlace, onTap: () {}),
|
||||
child: PlacePhotoCard(
|
||||
place: _samplePlace,
|
||||
onTap: () {},
|
||||
onFavoriteToggle: () {},
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -78,4 +82,10 @@ const _samplePlace = PlaceRecommendation(
|
||||
traits: {PlaceTrait.calm, PlaceTrait.clean},
|
||||
googlePrimaryType: 'cafe',
|
||||
googleTypes: ['cafe'],
|
||||
googleBusinessStatus: 'OPERATIONAL',
|
||||
googleRating: 4.8,
|
||||
googleUserRatingCount: 128,
|
||||
googleRegularOpeningHours: null,
|
||||
googleCurrentOpeningHours: null,
|
||||
isFavorite: true,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user