SingleChoiceConfirmationDialog<T> constructor
SingleChoiceConfirmationDialog<T> ({
- Key? key,
- T? initialValue,
- required List<
T> items, - ValueChanged<
T> ? onSelected, - ValueChanged<
T> ? onSubmitted, - Widget? title,
- EdgeInsetsGeometry? titlePadding,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 0.0),
- String? semanticLabel,
- List<
Widget> ? actions, - ItemBuilder<
T> ? itemBuilder, - Color? activeColor,
- String? cancelActionButtonLabel,
- String? submitActionButtonLabel,
- Color? actionButtonLabelColor,
- 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);