import 'package:flutter/material.dart'; import 'package:match_magic/screen/game_screen.dart'; import 'package:match_magic/models/game_state.dart'; import 'package:provider/provider.dart'; void main() { runApp( ChangeNotifierProvider( create: (context) => GameState(), child: const MyApp(), ), ); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title: 'Match Magic', theme: ThemeData( primarySwatch: Colors.blue, ), home: const GameScreen(), ); } }