CPAlertTemplate constructor

CPAlertTemplate({
  1. required List<String> titleVariants,
  2. required List<CPAlertAction> actions,
  3. dynamic onPresent(
    1. bool completed
    )?,
})

Creates CPAlertTemplate

Implementation

CPAlertTemplate({
  required this.titleVariants,
  required this.actions,
  this.onPresent,
});