Slider in settings to adjust days of forecast loaded. Settings are saved and loaded

This commit is contained in:
Konstantin Kollar
2022-08-31 22:09:47 +02:00
parent b20e7cfb46
commit 4fac2ecf0a
8 changed files with 244 additions and 11 deletions
+8 -5
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:wetter/components/settings_form.dart';
class Settings extends StatelessWidget {
const Settings({super.key});
@@ -6,10 +7,12 @@ class Settings extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Settings'),
),
body: const Center(child: Text("Settings here")),
);
appBar: AppBar(
title: const Text('Settings'),
),
body: const Padding(
padding: EdgeInsets.all(20),
child: Center(child: SettingsForm()),
));
}
}