StateLayout constructor

const StateLayout({
  1. Key? key,
  2. required StateType type,
  3. String? hintText,
  4. String? assetsPath,
  5. Color? hintTextColor,
  6. double? hintTextSize,
  7. double? assetsImgWidth,
  8. double? assetsImgHeight,
  9. Widget? customEmptyChild,
  10. Widget? customLoadingChild,
  11. Widget? customErrorChild,
  12. double? loadingRadius = 20,
})

Implementation

const StateLayout(
    {super.key,
    required this.type,
    this.hintText,
    this.assetsPath,
    this.hintTextColor,
    this.hintTextSize,
    this.assetsImgWidth,
    this.assetsImgHeight,
    this.customEmptyChild,
    this.customLoadingChild,
    this.customErrorChild,
    this.loadingRadius = 20});