From 36f34eadbe0a7fe0c589052f537ef1bcb502835c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=81=A5=E8=8E=B9?= Date: Sun, 27 Aug 2023 22:13:44 +0800 Subject: [PATCH] fix lint issues --- example/lib/pages/home.dart | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/example/lib/pages/home.dart b/example/lib/pages/home.dart index d8d078da..75c3c1e8 100644 --- a/example/lib/pages/home.dart +++ b/example/lib/pages/home.dart @@ -930,13 +930,15 @@ class _HomePageState extends State with TrayListener, WindowListener { // ], ), child: Scaffold( - appBar: _isFullScreen ? null : PreferredSize( - preferredSize: const Size.fromHeight(kWindowCaptionHeight), - child: WindowCaption( - brightness: Theme.of(context).brightness, - title: const Text('window_manager_example'), - ), - ), + appBar: _isFullScreen + ? null + : PreferredSize( + preferredSize: const Size.fromHeight(kWindowCaptionHeight), + child: WindowCaption( + brightness: Theme.of(context).brightness, + title: const Text('window_manager_example'), + ), + ), body: Column( children: [ GestureDetector(