InfoModal constructor

const InfoModal({
  1. required String title,
  2. required String description,
  3. String? buttonText,
  4. String? locale = 'en',
  5. bool? cancelButton = false,
  6. void onTap()?,
  7. Key? key,
})

Implementation

const InfoModal({
		required this.title,
  required this.description,
  this.buttonText,
		this.locale = 'en',
  this.cancelButton = false,
  this.onTap,
  super.key
	});