You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
730 B
Dart
31 lines
730 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'package:meals/screens/CategoriesScreen.dart';
|
|
import 'package:meals/screens/tabs.dart';
|
|
|
|
final theme = ThemeData(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
brightness: Brightness.dark,
|
|
seedColor: const Color.fromARGB(255, 131, 57, 0),
|
|
),
|
|
textTheme: GoogleFonts.latoTextTheme(),
|
|
);
|
|
|
|
void main() {
|
|
runApp(const ProviderScope(child: App()));
|
|
}
|
|
|
|
class App extends StatelessWidget {
|
|
const App({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
theme: theme,
|
|
home: const TabsScreen(),
|
|
);
|
|
}
|
|
}
|