import 'package:flame/sprite.dart'; import 'package:flutter/material.dart'; import 'package:match_magic/game/sprite_loader.dart'; import 'package:provider/provider.dart'; import 'game/match_magic_game.dart'; import 'game/swap_notifier.dart'; void main() { runApp( MultiProvider( providers: [ ChangeNotifierProvider(create: (_) => SwapNotifier()), ], 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 Scaffold( body: MatchMagicGameScreen(), ), ); } }