SingleChoiceConfirmationDialog<T> constructor

SingleChoiceConfirmationDialog<T>({
  1. Key? key,
  2. T? initialValue,
  3. required List<T> items,
  4. ValueChanged<T>? onSelected,
  5. ValueChanged<T>? onSubmitted,
  6. Widget? title,
  7. EdgeInsetsGeometry? titlePadding,
  8. EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 0.0),
  9. String? semanticLabel,
  10. List<Widget>? actions,
  11. ItemBuilder<T>? itemBuilder,
  12. Color? activeColor,
  13. String? cancelActionButtonLabel,
  14. String? submitActionButtonLabel,
  15. Color? actionButtonLabelColor,
  16. Widget divider = const Divider(height: 0.0),
})

Implementation

SingleChoiceConfirmationDialog({
  Key? key,
  this.initialValue,
  required this.items,
  this.onSelected,
  this.onSubmitted,
  this.title,
  this.titlePadding,
  this.contentPadding = const EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 0.0),
  this.semanticLabel,
  this.actions,
  this.itemBuilder,
  this.activeColor,
  this.cancelActionButtonLabel,
  this.submitActionButtonLabel,
  this.actionButtonLabelColor,
  this.divider = const Divider(height: 0.0),
}) : super(key: key);