FailedScreenLayout constructor

const FailedScreenLayout({
  1. Key? key,
  2. required String titleText,
  3. required String subtitleText,
  4. required String tryAgainButtonText,
  5. required void onBackPressed(),
  6. required void onTryAgainPressed(),
  7. required AlignmentGeometry placeholderImageAlignment,
  8. required String placeholderImageLink,
  9. required bool? isNetworkPlaceholderImageLink,
  10. required double placeholderImageWidth,
  11. required double placeholderImageHeight,
  12. required bool showFooterCard,
  13. required bool showbackButton,
  14. Color? cardBackgroundColor,
})

Implementation

const FailedScreenLayout(
    {super.key,
    required this.titleText,
    required this.subtitleText,
    required this.tryAgainButtonText,
    required this.onBackPressed,
    required this.onTryAgainPressed,
    required this.placeholderImageAlignment,
    required this.placeholderImageLink,
    required this.isNetworkPlaceholderImageLink,
    required this.placeholderImageWidth,
    required this.placeholderImageHeight,
    required this.showFooterCard,
    required this.showbackButton,
    this.cardBackgroundColor});