Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Aug 27, 2023
1 parent 0cbc98a commit 36f34ea
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions example/lib/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -930,13 +930,15 @@ class _HomePageState extends State<HomePage> 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(
Expand Down

0 comments on commit 36f34ea

Please sign in to comment.