30 lines
785 B
Dart
30 lines
785 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_shopping_list/widgets/grocery_list.dart';
|
|
|
|
void main() {
|
|
runApp(const MyApp());
|
|
}
|
|
|
|
class MyApp extends StatelessWidget {
|
|
const MyApp({super.key});
|
|
|
|
// This widget is the root of your application.
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Flutter Groceries',
|
|
theme: ThemeData.dark().copyWith(
|
|
useMaterial3: true,
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: const Color.fromARGB(255, 147, 229, 250),
|
|
brightness: Brightness.dark,
|
|
surface: const Color.fromARGB(255, 42, 51, 59),
|
|
),
|
|
scaffoldBackgroundColor: const Color.fromARGB(255, 50, 58, 60),
|
|
),
|
|
home: const GroceryList(),
|
|
);
|
|
}
|
|
}
|