Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have same Issue In My app When i use the release version the shimmer not update ui still loading and not show the data When i use Debug Mode Working Good. #43

Open
mahmoudalaa97 opened this issue Feb 3, 2021 · 2 comments

Comments

@mahmoudalaa97
Copy link

I have same Issue In My app When i use the release version the shimmer not update ui still loading and not show the data When i use Debug Mode Working Good.

Version:
shimmer version : 1.1.2

Flutter Doctor:

[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19041.746], locale en-GB)
    • Flutter version 1.22.4 at I:\flutter\flutter
    • Framework revision 1aafb3a8b9 (3 months ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4


[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at G:\android\Android\sdkn
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.52.1)
    • VS Code at C:\Users\Java\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.1

[√] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 7.0 (API 24) (emulator)
    • Web Server (web)                   • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.141
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 87.0.664.75

• No issues found!

144475168_249059956834985_4623942928218675434_n
145022323_134559485174899_2982511775934826193_n

Code :

Scaffold(
        backgroundColor: MyColors().background_color,
        appBar: PreferredSize(
          preferredSize: Size.fromHeight(0),
          child: AppBar(
            backgroundColor: Colors.transparent,
            elevation: 0,
            brightness: Brightness.light,
          ),
        ),
        body: Consumer<CityDetailsProvider>(
            builder: (ctx, data, child) =>
                data.waitCityData || data.city_data.name == null
                    ? Shimmer.fromColors(
                        baseColor: Colors.grey[300],
                        highlightColor: Colors.grey[100],
                        enabled: data.waitCityData,
                        child: _buildCityDetails(data))
                    : _buildCityDetails(data)));
  }

Originally posted by @mahmoudalaa97 in #36 (comment)

@cmcnicholas
Copy link

I'm experiencing the same thing, did you resolve this?

@mahmoudalaa97
Copy link
Author

Not yet I removed it from my code, so I don't know what the last update on it is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants