mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-06-23 05:44:09 -04:00
scaffolding
This commit is contained in:
parent
6def7a9eee
commit
c22d6fcff8
21 changed files with 1037 additions and 117 deletions
25
lib/app.dart
Normal file
25
lib/app.dart
Normal file
|
@ -0,0 +1,25 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:animated_theme_switcher/animated_theme_switcher.dart';s
|
||||
|
||||
class VeilidChatApp extends StatelessWidget {
|
||||
const VeilidChatApp({
|
||||
Key? key,
|
||||
required this.theme,
|
||||
}) : super(key: key);
|
||||
|
||||
final ThemeData theme;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ThemeProvider(
|
||||
initTheme: theme,
|
||||
builder: (_, theme) {
|
||||
return MaterialApp(
|
||||
title: 'VeilidChat',
|
||||
theme: theme,
|
||||
home: const MyHomePage(title: 'Flutter Demo Home Page'),
|
||||
);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue