diff --git a/lib/neumorphic_package_by_serge_software/neumorphic_card.dart b/lib/neumorphic_package_by_serge_software/neumorphic_card.dart index b03cd343..6f0c2884 100644 --- a/lib/neumorphic_package_by_serge_software/neumorphic_card.dart +++ b/lib/neumorphic_package_by_serge_software/neumorphic_card.dart @@ -54,7 +54,7 @@ class NeumorphicContainer extends StatelessWidget { @override Widget build(final BuildContext context) { - final color = decoration.color ?? Theme.of(context).backgroundColor; + final color = decoration.color ?? Theme.of(context).scaffoldBackgroundColor; final emboss = curveType == CurveType.emboss; Color colorValue = color;