config static method

void config({
  1. String? noData,
  2. Widget? loading,
  3. Color? bgLoading,
})

Implementation

static void config({
  String? noData,
  Widget? loading,
  Color? bgLoading,
}) {
  if (noData != null) {
    noDataValue = noData;
  }
  if (loading != null) {
    loadingView = loading;
  }
  if (bgLoading != null) {
    bgLoadingValue = bgLoading;
  }
}