Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

zoomablelist weird behavior when calling setState #101

Open
karnadii opened this issue May 8, 2019 · 2 comments
Open

zoomablelist weird behavior when calling setState #101

karnadii opened this issue May 8, 2019 · 2 comments
Labels

Comments

@karnadii
Copy link

karnadii commented May 8, 2019

My code is exactly the same as in example, when calling setState(showing and hiding appbar) the behavior is like in this bellow gif, I dont know how to describe this. when I am hiding the appBar, something like glitch appear,

 Widget _webtoonReader(context) {

    return ZoomableList(
      enableFling: true,
      maxScale: 2.0,
      flingFactor: 4.5,
      child: Column(
          mainAxisSize: MainAxisSize.min,
          children: rB.data.content.map((String url) {
            return rB.isOffline
                ? Image.file(File(url))
                : Image(
                    image: AdvancedNetworkImage(url,
                        fallbackAssetImage: "assets/img/error.jpeg"));
          }).toList()),
    );
@mchome
Copy link
Owner

mchome commented May 9, 2019

Same behavior without ZoomableList?

@karnadii
Copy link
Author

karnadii commented May 9, 2019

this behavior only appear with zoomable list, it is not really important, but it is weird.

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

No branches or pull requests

2 participants