main #1

Open
fdenzer wants to merge 46 commits from mgl_crew/Mitgliederladen:main into main
2 changed files with 21 additions and 10 deletions
Showing only changes of commit e0b571a808 - Show all commits

View file

@ -31,7 +31,7 @@ class MyApp extends StatelessWidget {
brightness: Brightness.dark,
seedColor: const Color(0xff5f7c61),
)),
themeMode: ThemeMode.dark,
themeMode: ThemeMode.system,
home: const MyHomePage(),
);
}
@ -82,15 +82,7 @@ class _MyHomePageState extends State<MyHomePage> {
body: <Widget>[
const Shopping(),
const Finance(),
ListView(children: const <Widget>[
ListTile(
leading: Icon(Icons.dark_mode),
title: Text(
'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein',
maxLines: 2,
),
)
])
const Settings()
][currentPageIndex],
);
}

View file

@ -0,0 +1,19 @@
import 'package:flutter/material.dart';
class Settings extends StatelessWidget {
const Settings({super.key});
@override
Widget build(BuildContext context) {
//Hier in dem Return kann der Inhalt des Setting Tabs angepasst werden
return ListView(children: const <Widget>[
ListTile(
leading: Icon(Icons.dark_mode),
title: Text(
'Hier könnten Einstellungen zu Darkmode mit shared_preferences und riverpod sein',
maxLines: 2,
),
)
]);
}
}