Skip to content

Consider making lerpDouble parameters non-null #64617

@cbracken

Description

@cbracken

In dart:ui, lerpDouble currently has the following signature: double? lerpDouble(num? a, num? b, double t).

Post non-null by default, we should consider strengthening the parameter contract to require them to be non-null. While this would be a breaking change, it seems likely that the framework either meets this guarantee or can provide it without a framework breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: null-safetySupport for Dart's null safety featurec: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions