mirrored_repositories/flutter-counter-example
import 'package:flutter/material.dart';
import 'package:flutter_counter_example/providers/counter_provider.dart';
import 'package:flutter_counter_example/screens/home_screen.dart';
import 'package:provider/provider.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ChangeNotifierProvider(
      create: (context) => CounterProvider(),
      child: MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Flutter Gym',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(
            seedColor: Colors.orange,
          ),
          useMaterial3: true,
        ),
        home: const HomeScreen(title: 'Flutter Gym'),
      ),
    );
  }
}
