Skip to content

Commit 402f998

Browse files
gnpricechrisbobbe
authored andcommitted
color [nfc]: Fix a straggling reference to Color.value, in a pigeon's doc
This survived because we've been suppressing the analyzer on Pigeon-generated code, because of an upstream issue that caused an unrelated lint message there. See analysis_options.yaml.
1 parent 1540427 commit 402f998

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/app/src/main/kotlin/com/zulip/flutter/Notifications.g.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ interface AndroidNotificationHostApi {
428428
* The rest go to method calls on the builder.
429429
*
430430
* The `color` should be in the form 0xAARRGGBB.
431-
* This is the form returned by [Color.value].
431+
* See [ColorExtension.argbInt].
432432
*
433433
* The `smallIconResourceName` is passed to `android.content.res.Resources.getIdentifier`
434434
* to get a resource ID to pass to `Builder.setSmallIcon`.

lib/host/android_notifications.g.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ class AndroidNotificationHostApi {
462462
/// The rest go to method calls on the builder.
463463
///
464464
/// The `color` should be in the form 0xAARRGGBB.
465-
/// This is the form returned by [Color.value].
465+
/// See [ColorExtension.argbInt].
466466
///
467467
/// The `smallIconResourceName` is passed to `android.content.res.Resources.getIdentifier`
468468
/// to get a resource ID to pass to `Builder.setSmallIcon`.

pigeon/notifications.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ abstract class AndroidNotificationHostApi {
177177
/// The rest go to method calls on the builder.
178178
///
179179
/// The `color` should be in the form 0xAARRGGBB.
180-
/// This is the form returned by [Color.value].
180+
/// See [ColorExtension.argbInt].
181181
///
182182
/// The `smallIconResourceName` is passed to `android.content.res.Resources.getIdentifier`
183183
/// to get a resource ID to pass to `Builder.setSmallIcon`.

0 commit comments

Comments
 (0)