mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
fix(ArtistCard): linux shadow
This commit is contained in:
parent
b3c27d1fca
commit
c1868817e5
@ -33,24 +33,18 @@ class ArtistCard extends HookWidget {
|
|||||||
ios: null,
|
ios: null,
|
||||||
macos: null,
|
macos: null,
|
||||||
linux: BoxShadow(
|
linux: BoxShadow(
|
||||||
blurRadius: 10,
|
blurRadius: 6,
|
||||||
offset: const Offset(0, 3),
|
color: Theme.of(context).shadowColor.withOpacity(0.3),
|
||||||
spreadRadius: 5,
|
|
||||||
color: Theme.of(context).shadowColor,
|
|
||||||
),
|
),
|
||||||
windows: null,
|
windows: null,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
final splash = usePlatformProperty<InteractiveInkFeatureFactory?>(
|
final splash = usePlatformProperty<InteractiveInkFeatureFactory?>(
|
||||||
(context) => PlatformProperty.multiPlatformGroup({
|
(context) => PlatformProperty.only(
|
||||||
InkRipple.splashFactory: {TargetPlatform.android, TargetPlatform.linux},
|
android: InkRipple.splashFactory,
|
||||||
NoSplash.splashFactory: {
|
other: NoSplash.splashFactory,
|
||||||
TargetPlatform.windows,
|
),
|
||||||
TargetPlatform.macOS,
|
|
||||||
TargetPlatform.iOS,
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user