Skip to content

Resolve deprecation warnings about radio buttons #1545

Open
@chrisbobbe

Description

@chrisbobbe
Collaborator

This has come up in CI recently:

Running analyze...
Analyzing zulip-flutter...                                      

   info • 'groupValue' is deprecated and shouldn't be used. Use a RadioGroup ancestor to manage group value instead. This feature was deprecated after v3.32.0-0.0.pre • lib/widgets/settings.dart:56:13 • deprecated_member_use
   info • 'onChanged' is deprecated and shouldn't be used. Use RadioGroup to handle value change instead. This feature was deprecated after v3.32.0-0.0.pre • lib/widgets/settings.dart:57:13 • deprecated_member_use
   info • 'checked' is deprecated and shouldn't be used. Use RadioGroup.groupValue to find which radio is checked. This feature was deprecated after v3.32.0-0.0.pre • test/flutter_checks.dart:254:45 • deprecated_member_use

3 issues found. (ran in 28.0s)

We suppressed the warnings, in #1562, but we should resolve them instead. See #1546 for an approach that effectively resolved them, but required upgrading Flutter past a breaking change.

Activity

self-assigned this
on Jun 3, 2025
changed the title [-]CI failing with deprecation warnings on Material radio-buttons code (theme settings)[/-] [+]Resolve deprecation warnings about radio buttons[/+] on Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Relationships

None yet

    Participants

    @gnprice@chrisbobbe

    Issue actions

      Resolve deprecation warnings about radio buttons · Issue #1545 · zulip/zulip-flutter