This commit is contained in:
2025-03-15 00:03:38 +01:00
parent 8c7150a1ed
commit 7601cf3a22
2 changed files with 1 additions and 10 deletions

View File

@@ -349,10 +349,6 @@ class _MyHomePageState extends State<MyHomePage> {
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text(
'Time Elapsed:',
style: Theme.of(context).textTheme.headlineSmall,
),
const SizedBox(height: 10), const SizedBox(height: 10),
// Use a fixed height container to prevent expanding and force horizontal scrolling if needed // Use a fixed height container to prevent expanding and force horizontal scrolling if needed
SizedBox( SizedBox(
@@ -389,11 +385,6 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
], ],
), ),
const SizedBox(height: 10),
Text(
'Keyboard: SPACE for Start/Lap, ENTER for Pause/Stop',
style: Theme.of(context).textTheme.bodySmall,
),
const SizedBox(height: 20), const SizedBox(height: 20),
if (_laps.isNotEmpty) ...[ if (_laps.isNotEmpty) ...[
Text( Text(

View File

@@ -25,7 +25,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
FlutterWindow window(project); FlutterWindow window(project);
Win32Window::Size size(720, 640); Win32Window::Size size(800, 800);
Win32Window::Point origin((GetSystemMetrics(SM_CXSCREEN) - size.width) / 2, Win32Window::Point origin((GetSystemMetrics(SM_CXSCREEN) - size.width) / 2,
(GetSystemMetrics(SM_CYSCREEN) - size.height) / 2); (GetSystemMetrics(SM_CYSCREEN) - size.height) / 2);
if (!window.Create(L"Just a timer", origin, size)) { if (!window.Create(L"Just a timer", origin, size)) {