This commit is contained in:
kodjomoustapha 2024-05-14 13:16:06 +01:00
parent 8ae2ef20be
commit 41320cdeae
5 changed files with 7 additions and 6 deletions

View file

@ -325,7 +325,7 @@ Widget iconButton(IconData icon, void Function()? onPressed,
child: IconButton(
iconSize: size * 0.9,
style: ButtonStyle(
backgroundColor: MaterialStatePropertyAll(backgroundColor)),
backgroundColor: WidgetStatePropertyAll(backgroundColor)),
padding: const EdgeInsets.all(1),
onPressed: onPressed,
icon: Icon(icon, color: iconColors)),

View file

@ -107,7 +107,7 @@ class SourceListTile extends StatelessWidget {
// if (supportsLatest) {
return TextButton(
style: const ButtonStyle(
padding: MaterialStatePropertyAll(EdgeInsets.all(10))),
padding: WidgetStatePropertyAll(EdgeInsets.all(10))),
onPressed: () =>
context.push('/mangaHome', extra: (source, true)),
child: Text(context.l10n.latest));

View file

@ -54,7 +54,7 @@ class _ThemeSelectorState extends ConsumerState<ThemeSelector> {
width: 4,
),
unselectedBorder: BorderSide.none,
backgroundColor: scheme.background,
backgroundColor: scheme.surface,
width: width,
height: height,
padding: EdgeInsets.zero,

View file

@ -441,13 +441,13 @@ packages:
source: hosted
version: "7.3.1"
flex_seed_scheme:
dependency: transitive
dependency: "direct overridden"
description:
name: flex_seed_scheme
sha256: "29c12aba221eb8a368a119685371381f8035011d18de5ba277ad11d7dfb8657f"
sha256: "116dc56093aa4e64d2f03135957b5ef61b1134a4a4990c66f76bc635903d0d8c"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "2.0.0-dev.1"
flutter:
dependency: "direct main"
description: flutter

View file

@ -82,6 +82,7 @@ dependency_overrides:
analyzer: ">=5.2.0 <7.0.0"
http: ^1.2.0
ffi: ^2.1.0
flex_seed_scheme: ^2.0.0-dev.1
dev_dependencies:
flutter_test: