CustomBlocErrorWidget constructor

const CustomBlocErrorWidget({
  1. Key? key,
  2. OnRetryCallback? onPressed,
  3. String buttonText = 'Retry',
  4. Color? buttonColor,
  5. String title = 'No item found',
  6. Widget? child,
  7. double buttonHeight = 55,
  8. double maxButtonWidth = 450,
  9. double buttonBorderRadius = 10,
  10. Color buttonPressSplashColor = Colors.black45,
})

Implementation

const CustomBlocErrorWidget(
    {Key? key,
    this.onPressed,
    this.buttonText = 'Retry',
    this.buttonColor,
    this.title = 'No item found',
    this.child,
    this.buttonHeight = 55,
    this.maxButtonWidth = 450,
    this.buttonBorderRadius = 10,
    this.buttonPressSplashColor = Colors.black45})
    : super(key: key);