CarpenterTextPromptDialog constructor

const CarpenterTextPromptDialog({
  1. Key? key,
  2. required String title,
  3. required String label,
  4. String? initialValue,
  5. Widget? header,
  6. String? placeholder,
  7. int maxLines = 1,
  8. String confirmLabel = 'Сохранить',
  9. String cancelLabel = 'Отмена',
  10. BoxConstraints constraints = const BoxConstraints(maxWidth: 560),
})

Implementation

const CarpenterTextPromptDialog({
  super.key,
  required this.title,
  required this.label,
  this.initialValue,
  this.header,
  this.placeholder,
  this.maxLines = 1,
  this.confirmLabel = 'Сохранить',
  this.cancelLabel = 'Отмена',
  this.constraints = const BoxConstraints(maxWidth: 560),
});