Cleanup
This commit is contained in:
@@ -349,10 +349,6 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Text(
|
||||
'Time Elapsed:',
|
||||
style: Theme.of(context).textTheme.headlineSmall,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
// Use a fixed height container to prevent expanding and force horizontal scrolling if needed
|
||||
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),
|
||||
if (_laps.isNotEmpty) ...[
|
||||
Text(
|
||||
|
@@ -25,7 +25,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
||||
project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
|
||||
|
||||
FlutterWindow window(project);
|
||||
Win32Window::Size size(720, 640);
|
||||
Win32Window::Size size(800, 800);
|
||||
Win32Window::Point origin((GetSystemMetrics(SM_CXSCREEN) - size.width) / 2,
|
||||
(GetSystemMetrics(SM_CYSCREEN) - size.height) / 2);
|
||||
if (!window.Create(L"Just a timer", origin, size)) {
|
||||
|
Reference in New Issue
Block a user