Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Mar 24, 2022
1 parent 686d702 commit 5520f43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example/lib/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ class _HomePageState extends State<HomePage> with TrayListener, WindowListener {
PreferenceListSection(
title: Text('METHODS'),
children: [
PreferenceListItem(
title: Text('setAsFrameless'),
onTap: () async {
await windowManager.setAsFrameless();
},
),
PreferenceListItem(
title: Text('close'),
onTap: () async {
Expand Down

0 comments on commit 5520f43

Please sign in to comment.