mirror of
https://github.com/tonytins/bullseye.git
synced 2025-12-18 23:04:43 -05:00
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:
parent
964e861450
commit
593fda0975
22 changed files with 154 additions and 68 deletions
20
lib/desktop.dart
Normal file
20
lib/desktop.dart
Normal 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()
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue