@ -16,7 +16,7 @@ class ThumbnailTile extends ConsumerWidget {
this . asset , {
this . asset , {
this . size = kThumbnailResolution ,
this . size = kThumbnailResolution ,
this . fit = BoxFit . cover ,
this . fit = BoxFit . cover ,
this . showStorageIndicator ,
this . showStorageIndicator = false ,
this . lockSelection = false ,
this . lockSelection = false ,
this . heroOffset ,
this . heroOffset ,
super . key ,
super . key ,
@ -25,7 +25,7 @@ class ThumbnailTile extends ConsumerWidget {
final BaseAsset ? asset ;
final BaseAsset ? asset ;
final Size size ;
final Size size ;
final BoxFit fit ;
final BoxFit fit ;
final bool ? showStorageIndicator ;
final bool showStorageIndicator ;
final bool lockSelection ;
final bool lockSelection ;
final int ? heroOffset ;
final int ? heroOffset ;
@ -55,7 +55,7 @@ class ThumbnailTile extends ConsumerWidget {
: const BoxDecoration ( ) ;
: const BoxDecoration ( ) ;
final bool storageIndicator =
final bool storageIndicator =
showStorageIndicator ? ? ref. watch ( settingsProvider . select ( ( s ) = > s . get ( Setting . showStorageIndicator ) ) ) ;
ref. watch ( settingsProvider . select ( ( s ) = > s . get ( Setting . showStorageIndicator ) ) ) & & showStorageIndicator ;
return Stack (
return Stack (
children: [
children: [