Skip to content

FlexibleSpaceBar background disappears when app resumes on Android #24624

@kroikie

Description

@kroikie

node: this issue does not happen on iOS so it looks like it is Android specific.

Steps to Reproduce

  1. Create a SliverAppBar with a flexibleSpaceBar that has a background image set.
  2. Run app on Android so that background image is visible
  3. Go to home screen
  4. Return to app
  5. Note that the background image is not visible. If you adjust the SliverAppBar the image returns.

Logs

D/EGL_emulation(21302): eglMakeCurrent: 0xebf05a20: ver 3 0 (tinfo 0xd55a9dc0)
D/EGL_emulation(21302): eglCreateContext: 0xf0545100: maj 3 min 0 rcv 3
D/EGL_emulation(21302): eglMakeCurrent: 0xf0545100: ver 3 0 (tinfo 0xebc133d0)
D/EGL_emulation(21302): eglMakeCurrent: 0xf0545100: ver 3 0 (tinfo 0xd55a9410)
D/EGL_emulation(21302): eglMakeCurrent: 0xebf05a20: ver 3 0 (tinfo 0xd55a9dc0)

###Analyze

No issues found! (ran in 2.7s)

##Flutter doctor

[✓] Flutter (Channel master, v0.11.10-pre.1, on Mac OS X 10.13.6 17G3025, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 10.0)
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy out of date (1.9.4 is required). To upgrade with Brew:
        brew upgrade ios-deploy
[✓] Android Studio (version 3.2)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
[!] VS Code (version 1.28.1)
[✓] Connected device (2 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