flutter_audio_games 0.2.0 flutter_audio_games: ^0.2.0 copied to clipboard
Widgets useful for creating audio games.
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_synthizer/flutter_synthizer.dart';
import 'screens/intro_screen.dart';
void main() {
runApp(const MyApp());
}
/// The top level app object.
class MyApp extends StatelessWidget {
/// Create an instance.
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(final BuildContext context) => ProviderScope(
child: SynthizerScope(
child: MaterialApp(
title: 'Flutter Audio Games Example',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const IntroScreen(),
),
),
);
}