Skip to content

flutter/engine/web_ui does not implement ImageFilter.matrix #45213

@flar

Description

@flar

The web version of ImageFilter does have an implementation of ImageFilter.blur which is the more commonly used filter, but it throws an UnimplementedError in the constructor/factory for ImageFilter.matrix:

  ImageFilter.matrix(Float64List matrix4,
      {FilterQuality filterQuality = FilterQuality.low}) {
    // TODO(flutter_web): add implementation.
    throw UnimplementedError(
        'ImageFilter.matrix not implemented for web platform.');
    //    if (matrix4.length != 16)
    //      throw ArgumentError('"matrix4" must have 16 entries.');
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: renderingUI glitches reported at the engine/skia or impeller rendering levelengineflutter/engine related. See also e: labels.platform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions