diff --git a/packages/flutter_introduction_widget/lib/src/widgets/background.dart b/packages/flutter_introduction_widget/lib/src/widgets/background.dart index 9eae380..204b65e 100644 --- a/packages/flutter_introduction_widget/lib/src/widgets/background.dart +++ b/packages/flutter_introduction_widget/lib/src/widgets/background.dart @@ -24,7 +24,7 @@ class Background extends StatelessWidget { var theme = Theme.of(context); var background = this.background ?? BoxDecoration( - color: theme.colorScheme.background, + color: theme.colorScheme.surface, ); var size = MediaQuery.of(context).size; return Container( diff --git a/pubspec.yaml b/pubspec.yaml index ae69ff2..e31402e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,4 +4,4 @@ version: 3.1.0 environment: sdk: '>=3.1.0 <4.0.0' dev_dependencies: - melos: ">=3.0.1 <5.0.0" + melos: ">=3.0.1 <7.0.0"