Skip to content

Commit 2fe43ba

Browse files
author
Ben Butterworth
authored
Merge pull request #57 from FlorianKempe/refactor/push-import-on-example
2 parents 01a02e8 + 57c790b commit 2fe43ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

push/example/lib/main.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
import 'package:flutter/material.dart' hide Notification;
12
import 'package:flutter/cupertino.dart';
2-
import 'package:flutter/material.dart';
33
import 'package:flutter_hooks/flutter_hooks.dart';
44
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
55
import 'package:push/push.dart';
6-
import 'package:push/push.dart' as push;
76
import 'package:push_example/metadata_sliver.dart';
87
import 'package:push_example/platform_specific/android.dart';
98
import 'package:push_example/remote_messages_widget.dart';
@@ -262,7 +261,7 @@ class MyApp extends HookWidget {
262261
}
263262
}
264263

265-
void displayForegroundNotification(push.Notification notification) async {
264+
void displayForegroundNotification(Notification notification) async {
266265
final androidOptions =
267266
AndroidNotificationDetails(debugChannel.id, debugChannel.name,
268267
channelDescription: debugChannel.description,

0 commit comments

Comments
 (0)