AlertConfig constructor

const AlertConfig({
  1. required AlertType type,
  2. required String title,
  3. required String description,
  4. String? buttonText,
  5. VoidCallback? onPressed,
  6. AlertTheme? theme,
})

Implementation

const AlertConfig({
  required this.type,
  required this.title,
  required this.description,
  this.buttonText,
  this.onPressed,
  this.theme,
});