-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Remove unecessary reference to ClipboardStatusNotifier #125255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@@ -209,7 +209,7 @@ class _CupertinoTextSelectionControlsToolbar extends StatefulWidget { | |||
required this.textLineHeight, | |||
}); | |||
|
|||
final ValueNotifier<ClipboardStatus>? clipboardStatus; | |||
final ValueListenable<ClipboardStatus>? clipboardStatus; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the changes from ValueNotifier to ValueListenable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not using the notifier api, the builder should not be mutating the state of ClipboardStatus anyway.
auto label is removed for flutter/flutter, pr: 125255, due to - The status or check suite Windows build_tests_1_3 has failed. Please fix the issues identified (or deflake) before re-applying this label. |
fixes #99360
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.