PanaraInfoDialogWidget constructor

const PanaraInfoDialogWidget({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. required String buttonText,
  5. required VoidCallback onTapDismiss,
  6. required PanaraDialogType panaraDialogType,
  7. Color? textColor = const Color(0xFF707070),
  8. Color? color = const Color(0xFF179DFF),
  9. Color? buttonTextColor,
  10. String? imagePath,
  11. EdgeInsets? padding = const EdgeInsets.all(24),
  12. EdgeInsets? margin = const EdgeInsets.all(24),
  13. required bool noImage,
})

Implementation

const PanaraInfoDialogWidget({
  Key? key,
  this.title,
  required this.message,
  required this.buttonText,
  required this.onTapDismiss,
  required this.panaraDialogType,
  this.textColor = const Color(0xFF707070),
  this.color = const Color(0xFF179DFF),
  this.buttonTextColor,
  this.imagePath,
  this.padding = const EdgeInsets.all(24),
  this.margin = const EdgeInsets.all(24),
  required this.noImage,
}) : super(key: key);