fix : Différentes erreurs

This commit is contained in:
Yaël Perret
2026-05-14 16:05:08 +02:00
parent 09219b8ca1
commit a812a70b1d
14 changed files with 26 additions and 460 deletions

View File

@@ -7,7 +7,7 @@ import 'package:flutter_svg/flutter_svg.dart';
import 'main_viewmodel.dart';
class MainView extends StackedView<MainViewModel> {
const MainView({Key? key}) : super(key: key);
const MainView({super.key});
@override
Widget builder(
@@ -30,7 +30,7 @@ class MainView extends StackedView<MainViewModel> {
],
),
centerTitle: false,
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
shape: Border(
bottom: BorderSide(
color: Theme.of(context).colorScheme.outline,
@@ -38,10 +38,10 @@ class MainView extends StackedView<MainViewModel> {
),
),
),
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
bottomNavigationBar: BottomNavigationBar(
type: BottomNavigationBarType.fixed,
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
currentIndex: viewModel.currentIndex,
onTap: viewModel.setIndex,
showSelectedLabels: false,