diff --git a/lib/src/widgets.dart b/lib/src/widgets.dart index a3f58fe..dc54e60 100644 --- a/lib/src/widgets.dart +++ b/lib/src/widgets.dart @@ -97,7 +97,7 @@ class SkeletonLine extends StatelessWidget { : style.width, height: style.height, decoration: BoxDecoration( - color: Theme.of(context).backgroundColor, + color: Theme.of(context).colorScheme.background, borderRadius: style.borderRadius, ), );