XStatesLayout<T extends XBaseModel> constructor

XStatesLayout<T extends XBaseModel>({
  1. bool isShowLoading = true,
  2. bool loadingShowPage = false,
  3. Widget? onLoading,
  4. Widget? onError,
  5. Widget? onEmpty,
  6. EdgeInsetsGeometry? padding,
  7. required Widget child,
  8. String? tag,
})

Implementation

XStatesLayout({
  this.isShowLoading = true,
  this.loadingShowPage = false,
  this.onLoading,
  this.onError,
  this.onEmpty,
  this.padding,
  required this.child,
  String? tag,
}) : super(tag: tag);