Skip to content

Clean up Binding.instance #64830

@Hixie

Description

@Hixie

With nnbd, we're making all the FooBinding.instance singletons nullable, and sprinkling !s everywhere. We should instead make them non-nullable and have a good error message when you read them as null, and if anyone needs to know if the instance is set up, have a separate flag.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: null-safetySupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions