Skip to content

[flutter_migrate] Replace deprecated onError #143455

@stuartmorgan-g

Description

@stuartmorgan-g
'onError' is deprecated and shouldn't be used. Use runZonedGuarded
instead. Try replacing the use of the deprecated member with the replacement.

It doesn't say when that was changed, but this code is pretty old so the replacement is almost certainly available in all versions we support.

Metadata

Metadata

Labels

c: tech-debtTechnical debt, code quality, testing, etc.p: deprecated apiUse of a deprecated Dart API in flutter/packages that needs to be updatedp: flutter_migrateThe flutter_migrate package/toolpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions