Skip to content

Api "endRecording().toImage" May appear empty data in version "1.9.1+hotfix.2" #40244

@a27919478

Description

@a27919478

First , I paint a picture on the canvas and call "endRecording().toImage" to save the image. It is possible to return empty data.This operation may need to be repeated multiple times.
This problem does not appear in the version "v1.7.8+hotfix.4".

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale zh-Hans-HK)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.37.1)
[!] Connected device
    ! No devices available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions