macOS and Linux support

This commit is contained in:
Tony Bark 2021-05-08 19:00:08 -04:00
parent b29a46366a
commit 22cecb89a4
46 changed files with 1787 additions and 63 deletions

View file

@ -9,15 +9,6 @@ class BullsEyeApp extends StatelessWidget {
return MaterialApp(
title: 'BullsEye',
theme: ThemeData(
// This is the theme of your application.
//
// Try running your application with "flutter run". You'll see the
// application has a blue toolbar. Then, without quitting the app, try
// changing the primarySwatch below to Colors.green and then invoke
// "hot reload" (press "r" in the console where you ran "flutter run",
// or simply save your changes to "hot reload" in a Flutter IDE).
// Notice that the counter didn't reset back to zero; the application
// is not restarted.
primarySwatch: Colors.blue,
),
home: GamePage(title: 'BullsEye'),
@ -26,8 +17,8 @@ class BullsEyeApp extends StatelessWidget {
}
class GamePage extends StatefulWidget {
GamePage({Key key, this.title}) : super(key: key);
final String title;
GamePage({Key? key, this.title}) : super(key: key);
final String? title;
@override
_GamePageState createState() => _GamePageState();