add a layer of very transparent black over the blur in location recommendation widget
This commit is contained in:
parent
3203dc380e
commit
7f2ea10f64
1 changed files with 18 additions and 9 deletions
|
@ -201,15 +201,24 @@ class LocationRecommendation extends StatelessWidget {
|
|||
child: Stack(
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
ImageFiltered(
|
||||
imageFilter: ImageFilter.blur(sigmaX: 24, sigmaY: 24),
|
||||
child: locationSearchResult.previewThumbnail() != null
|
||||
? ThumbnailWidget(
|
||||
locationSearchResult.previewThumbnail()!,
|
||||
shouldShowArchiveStatus: false,
|
||||
shouldShowSyncStatus: false,
|
||||
)
|
||||
: const NoThumbnailWidget(),
|
||||
Stack(
|
||||
children: [
|
||||
ImageFiltered(
|
||||
imageFilter:
|
||||
ImageFilter.blur(sigmaX: 24, sigmaY: 24),
|
||||
child: locationSearchResult.previewThumbnail() !=
|
||||
null
|
||||
? ThumbnailWidget(
|
||||
locationSearchResult.previewThumbnail()!,
|
||||
shouldShowArchiveStatus: false,
|
||||
shouldShowSyncStatus: false,
|
||||
)
|
||||
: const NoThumbnailWidget(),
|
||||
),
|
||||
Container(
|
||||
color: Colors.black.withOpacity(0.2),
|
||||
),
|
||||
],
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(
|
||||
|
|
Loading…
Add table
Reference in a new issue