Skip to content

flutter image flash #38883

Description

@jlcool

Are the following methods used the same? What is the possible reason?

PaintingBinding.instance.imageCache.maximumSize=100;
PaintingBinding.instance.imageCache.maximumSizeBytes= 50 << 20;

Questions such as the presentation in the video
flutterimage

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.8.4-pre.47, on Microsoft Windows [Version 10.0.17134.950], locale zh-CN)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2017 15.9.4)
[√] Android Studio (version 3.4)
[√] Connected device (2 available)

• No issues found!

thank you

Activity

  1. changed the title [-]flutter image Twinkle[/-] [+]flutter image flash[/+] on Sep 4, 2019
  2. jlcool commented on Sep 4, 2019

    @jlcool
    Author

    It seems that the picture is too big, just over 100 kb will cause this problem. Just reduce it to more than a dozen kb.

  3. github-actions commented on Aug 28, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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