fix : Différentes erreurs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user