Ahmed Elsayed
Ahmed Elsayed
Exactly. isRefreshing/isReloading is needed to achieve this (one of them is enough to cover all cases). I think case 2 is inappropriate. It should be just the opposite of case...
Alright. `skipLoading` name is more clear than `showLatest`. Will just need to reverse the conditions above 🤪
**Case 1** (default, typically combined with RefreshIndicator) Show loading on recomputation during refresh, keep showing the previous state/error To Achieve: ``` skipLoadingOnRefresh: true, //Default skipLoadingOnReload: false, //Default ``` **Case 2**...
**Case 5** Show previous data (if hasData) when in error state. or else, show error. To Achieve: ` skipError: true, //Default is false`
I don't get the idea of `skipErrorOnRefresh/Reload` / `skipAllError` / `skipResolvedErrors`. skip them and show what instead? I think just `skipError` to prioritize showing data if there's data is enough....
The sample in ReadMe is working fine in `release` mode. Can you please provide a working sample and your flutter doctor output?
I'll close this for now. Feel free to re-open when your working sample is ready.
The issue is related to the flutter framework, check https://github.com/flutter/flutter/issues/110565. `overlayColor` has no effect when it's used with color set at decoration. If you remove decoration's color or set it...
I can't find a workaround for now. Using the old "focusColor/hoverColor/highlightColor/splashColor" instead of overlayColor produces the same issue.
> I suppose we should leave this open until it is fixed on the Flutter side. Sure.