fix : Différentes erreurs
This commit is contained in:
@@ -5,7 +5,7 @@ import 'package:intl/intl.dart';
|
||||
import 'home_viewmodel.dart';
|
||||
|
||||
class HomeView extends StackedView<HomeViewModel> {
|
||||
const HomeView({Key? key}) : super(key: key);
|
||||
const HomeView({super.key});
|
||||
|
||||
@override
|
||||
Widget builder(
|
||||
@@ -14,7 +14,7 @@ class HomeView extends StackedView<HomeViewModel> {
|
||||
Widget? child,
|
||||
) {
|
||||
return Scaffold(
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
backgroundColor: Theme.of(context).colorScheme.surface,
|
||||
body: ListView.builder(
|
||||
itemCount: viewModel.events.length,
|
||||
itemBuilder: (context, index) {
|
||||
|
||||
Reference in New Issue
Block a user