BaseWidget constructor

const BaseWidget({
  1. Key? key,
  2. required Widget child,
  3. LayoutStatus? status,
  4. Widget? empty,
  5. Widget? loading,
  6. Widget? noNetwork,
  7. Widget? error,
  8. VoidCallback? onReconnect,
  9. bool isConnected = true,
})

Implementation

const BaseWidget({
  super.key,
  required this.child,
  this.status,
  this.empty,
  this.loading,
  this.noNetwork,
  this.error,
  this.onReconnect,
  this.isConnected = true,
});