BaseStateGallery<T> constructor

const BaseStateGallery<T>({
  1. T? data,
  2. String? error = '',
  3. bool isLoading = false,
  4. bool hasError = false,
  5. bool hasPermission = false,
})

Implementation

const BaseStateGallery({
  this.data,
  this.error = '',
  this.isLoading = false,
  this.hasError = false,
  this.hasPermission = false,
});