buildWhen method
Implementation
bool buildWhen(FastAppLoaderBlocState previous, FastAppLoaderBlocState next) {
bool hasProgressChanged = false;
if (_canShowLoader) {
hasProgressChanged = previous.progress != next.progress;
}
return hasProgressChanged ||
previous.isLoading != next.isLoading ||
previous.isLoaded != next.isLoaded ||
previous.hasError != next.hasError;
}