Skip to content

Resolve deprecation warnings about radio buttons #1545

Open
@chrisbobbe

Description

@chrisbobbe

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions