bogui/lib/main.dart

30 lines
728 B
Dart
Raw Normal View History

2023-01-07 13:02:53 +01:00
import 'package:bogui/global.dart';
import 'package:bogui/screens/home.dart';
2023-01-07 08:11:30 +01:00
import 'package:flutter/material.dart';
2023-01-07 13:02:53 +01:00
import 'package:flutter_riverpod/flutter_riverpod.dart';
2023-01-07 08:11:30 +01:00
void main() {
2023-01-07 13:02:53 +01:00
runApp(const ProviderScope(child: MyApp()));
2023-01-07 08:11:30 +01:00
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
2023-01-07 09:50:54 +01:00
title: 'bogui',
2023-01-07 08:11:30 +01:00
theme: ThemeData(
2023-01-07 13:02:53 +01:00
appBarTheme: const AppBarTheme(
color: orangeC,
foregroundColor: Color.fromRGBO(33, 33, 33, 1),
2023-01-07 08:11:30 +01:00
),
2023-01-07 13:02:53 +01:00
brightness: Brightness.dark,
primaryColor: orangeC,
fontFamily: 'Georgia',
2023-01-07 08:11:30 +01:00
),
2023-01-07 13:02:53 +01:00
home: const Bogui(title: 'power AI'),
2023-01-07 08:11:30 +01:00
);
}
}