presentation/utils/loading_debounced_switcher library

Classes

LoadingDebouncedSwitcher
This widget allows you to switch between a loading state and a normal, when APIs act too fast sometimes it doesn't have enough time to display a loading indicator this widget tries to solve that issue when changing to loading state transition will begin inmediatly, when loading state changes to false it will wait for the debounce time before staring the transition