stopLoading static method
Clears the loading overlay. Call from a descendant BuildContext after async work (e.g. at the end of TableContentWidget.fetchMoreData).
Implementation
static void stopLoading(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<_PaginatedViewStateScope>();
assert(scope != null, 'stopLoading not found');
scope?.onStopLoading();
}