Skip to content

Commit 39a4dc6

Browse files
committed
Update README.md
1 parent f216696 commit 39a4dc6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README-ZH.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ sudo apt-get install libnotify-dev
7171
### 用法
7272
7373
```dart
74+
// 在 main 方法中添加这行。
75+
localNotifier.setAppName('example');
76+
7477
LocalNotification notification = LocalNotification(
7578
title: "local_notifier_example",
7679
body: "hello flutter!",

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ sudo apt-get install libnotify-dev
7171
### Usage
7272
7373
```dart
74+
// Add this line in main method.
75+
localNotifier.setAppName('example');
76+
7477
LocalNotification notification = LocalNotification(
7578
title: "local_notifier_example",
7679
body: "hello flutter!",

0 commit comments

Comments
 (0)