Skip to content

Commit 36f34ea

Browse files
committed
fix lint issues
1 parent 0cbc98a commit 36f34ea

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

example/lib/pages/home.dart

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -930,13 +930,15 @@ class _HomePageState extends State<HomePage> with TrayListener, WindowListener {
930930
// ],
931931
),
932932
child: Scaffold(
933-
appBar: _isFullScreen ? null : PreferredSize(
934-
preferredSize: const Size.fromHeight(kWindowCaptionHeight),
935-
child: WindowCaption(
936-
brightness: Theme.of(context).brightness,
937-
title: const Text('window_manager_example'),
938-
),
939-
),
933+
appBar: _isFullScreen
934+
? null
935+
: PreferredSize(
936+
preferredSize: const Size.fromHeight(kWindowCaptionHeight),
937+
child: WindowCaption(
938+
brightness: Theme.of(context).brightness,
939+
title: const Text('window_manager_example'),
940+
),
941+
),
940942
body: Column(
941943
children: [
942944
GestureDetector(

0 commit comments

Comments
 (0)