KhEasydevDialogV2 constructor

const KhEasydevDialogV2({
  1. Key? key,
  2. String? title,
  3. String? description,
  4. bool shouldDisplayX = true,
  5. Color? backgroundColor,
  6. Color? primaryColor,
  7. Color? buttonsTextColor,
  8. double? buttonsTextSize,
  9. double? titleTextSize,
  10. double? descriptionTextSize,
  11. bool oneButton = false,
  12. bool noButtons = false,
  13. List<Widget>? buttons,
  14. String? okButtonText,
  15. String? cancelButtonText,
  16. bool childBeforeTitle = false,
  17. Widget? child,
  18. double? height,
  19. double? width,
  20. VoidCallback? okButtonOnTap,
})

Implementation

const KhEasydevDialogV2(
    {super.key,
    this.title,
    this.description,
    this.shouldDisplayX = true,
    this.backgroundColor,
    this.primaryColor,
    this.buttonsTextColor,
    this.buttonsTextSize,
    this.titleTextSize,
    this.descriptionTextSize,
    this.oneButton = false,
    this.noButtons = false,
    this.buttons,
    this.okButtonText,
    this.cancelButtonText,
    this.childBeforeTitle = false,
    this.child,
    this.height,
    this.width,
    this.okButtonOnTap});