Skip to content

Commit 398749f

Browse files
committed
notif [nfc]: Comment on organizing parameters in Pigeon binding
1 parent 02cb728 commit 398749f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pigeon/notifications.dart

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ abstract class AndroidNotificationHostApi {
5252
void notify({
5353
String? tag,
5454
required int id,
55+
56+
// The remaining arguments go to method calls on NotificationCompat.Builder.
5557
required String channelId,
5658
int? color,
5759
PendingIntent? contentIntent,
@@ -60,5 +62,6 @@ abstract class AndroidNotificationHostApi {
6062
Map<String?, String?>? extras,
6163
String? smallIconResourceName,
6264
// NotificationCompat.Builder has lots more methods; add as needed.
65+
// Keep them alphabetized, for easy comparison with that class's docs.
6366
});
6467
}

0 commit comments

Comments
 (0)