Adpative layout

- The desktop version has the score, ect, in the title bar area now while the mobile version remains the same
- Capitalized "bullseye"
- Used "late" keyword for certain variables
- Updated application Id
This commit is contained in:
Tony Bark 2021-05-29 12:01:35 -04:00
parent 964e861450
commit 593fda0975
22 changed files with 154 additions and 68 deletions

20
lib/desktop.dart Normal file
View file

@ -0,0 +1,20 @@
import 'dart:io';
import 'package:bitsdojo_window/bitsdojo_window.dart';
import 'package:flutter/material.dart';
bool get isDesktop =>
(Platform.isLinux || Platform.isMacOS || Platform.isWindows);
class WindowButtons extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Row(
children: [
MinimizeWindowButton(),
MaximizeWindowButton(),
CloseWindowButton()
],
);
}
}