theming!!!

This commit is contained in:
zoe 2022-07-03 00:03:10 +02:00
parent 839bb0bbde
commit c63f062640
12 changed files with 118 additions and 63 deletions

View file

@ -1,5 +0,0 @@
import 'package:flutter/widgets.dart';
Widget Chat() {
return Center(child: Text("Chat"));
}

5
lib/pages/chat/chat.dart Normal file
View file

@ -0,0 +1,5 @@
import 'package:flutter/widgets.dart';
Widget chat(context) {
return const Center(child: Text("Chat"));
}

View file

@ -44,7 +44,7 @@ class _LoginFormState extends State<LoginForm> {
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
Text("greeting".i18n(), style: const TextStyle(fontSize: 64)),
Text("greeting".i18n(), style: Theme.of(context).textTheme.headline1),
TextFormField(
onSaved: (value) async {
await settings

View file

@ -0,0 +1,5 @@
import 'package:flutter/material.dart';
Widget notifications(context) {
return const Center(child: Text("Notifications"));
}

View file

@ -1,15 +1,7 @@
import 'package:flutter/material.dart';
import 'package:settings_ui/settings_ui.dart';
Widget Settings() {
return SafeArea(
child: SettingsList(contentPadding: EdgeInsets.all(24), sections: [
SettingsSection(title: Text("General"), tiles: [
SettingsTile(
title: Text("Language"),
value: Text("no"),
)
])
]),
Widget settings(context) {
return const Center(
child: Text("Settings"),
);
}

View file

@ -1,5 +1,9 @@
import 'package:flutter/material.dart';
Widget Timeline() {
return Center(child: Text("Home"));
Widget timeline(context) {
return Padding(
padding: const EdgeInsets.all(24),
child: Column(
children: [],
));
}