CustomEventModal constructor

const CustomEventModal({
  1. required String title,
  2. required String description,
  3. required IconData icon,
  4. String? buttonText,
  5. String? locale = 'en',
  6. Color? color = FUIColors.black500,
  7. bool? cancelButton = false,
  8. void onTap()?,
  9. Key? key,
})

Implementation

const CustomEventModal({
		required this.title,
  required this.description,
  required this.icon,
  this.buttonText,
		this.locale = 'en',
  this.color = FUIColors.black500,
  this.cancelButton = false,
  this.onTap,
  super.key
	});