all_src/widgets/basic_widget library

Functions

snapWidgetHelper<T>(AsyncSnapshot<T> snap, {Widget? errorWidget, Widget? loadingWidget, String? defaultErrorMessage, bool checkHasData = false, Widget errorBuilder(String)?}) Widget
Handle error and loading widget when using FutureBuilder or StreamBuilder