mirror of
https://github.com/tonytins/bullseye.git
synced 2025-06-25 10:24:44 -04:00
macOS and Linux support
This commit is contained in:
parent
b29a46366a
commit
22cecb89a4
46 changed files with 1787 additions and 63 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue