CarpenterTextFieldsDialog constructor
const
CarpenterTextFieldsDialog({
- Key? key,
- required bool open,
- required ValueChanged<
bool> onOpenChanged, - required Widget child,
- required String title,
- required List<
CarpenterTextFieldDescriptor> fields, - required ValueChanged<
Map< onSubmit,String, String> > - Widget? header,
- String confirmLabel = 'Сохранить',
- String cancelLabel = 'Отмена',
Collects field values with Russian default save and cancel actions.
Implementation
const CarpenterTextFieldsDialog({
super.key,
required this.open,
required this.onOpenChanged,
required this.child,
required this.title,
required this.fields,
required this.onSubmit,
this.header,
this.confirmLabel = 'Сохранить',
this.cancelLabel = 'Отмена',
});