setData static method

dynamic setData({
  1. Widget? errorWidget,
  2. Widget? emptyWidget,
  3. Widget? notNetWidget,
  4. Color? color_main,
})

Implementation

static setData({Widget? errorWidget,
  Widget? emptyWidget,
  Widget? notNetWidget,
  Color? color_main,
}){
  errorWidgetOrg=errorWidget;
  emptyWidgetOrg=emptyWidget;
  notNetWidgetOrg=notNetWidget;
  color_main_Org=color_main;
}