RModal constructor

const RModal({
  1. Key? key,
  2. String title = "",
  3. String description = "",
  4. Widget? primaryButtonChild,
  5. Widget? secondaryButtonChild,
  6. Widget? content,
  7. Color? dragHandleColor,
  8. TextStyle? titleStyle,
  9. TextStyle? descriptionStyle,
  10. Color? titlePrimaryButtonColor,
  11. Color? titleSecondaryButtonColor,
  12. Color? primaryBackgroundButtonColor,
  13. Color? secondaryBackgroundButtonColor,
  14. void onPrimaryButtonPressed()?,
  15. void onSecondaryButtonPressed()?,
})

Implementation

const RModal({
  super.key,
  this.title = "",
  this.description = "",
  this.primaryButtonChild,
  this.secondaryButtonChild,
  this.content,
  this.dragHandleColor,
  this.titleStyle,
  this.descriptionStyle,
  this.titlePrimaryButtonColor,
  this.titleSecondaryButtonColor,
  this.primaryBackgroundButtonColor,
  this.secondaryBackgroundButtonColor,
  this.onPrimaryButtonPressed,
  this.onSecondaryButtonPressed,
});