RenameDialog constructor

const RenameDialog({
  1. Key? key,
  2. Widget? title,
  3. Widget submitButton(
    1. BuildContext context,
    2. void callback()
    )?,
  4. Widget cancelButton(
    1. BuildContext context,
    2. void callback()
    )?,
  5. Widget middleButton(
    1. BuildContext context
    )?,
  6. FocusNode? focusNode,
  7. Widget? label,
  8. String? hintText,
  9. int? maxLines = 1,
  10. bool isSelectedAll = false,
  11. TextInputType? textInputType,
  12. List<TextInputFormatter>? inputFormatters,
  13. void onChanged(
    1. String text
    )?,
  14. void onTap()?,
  15. void onSubmitted(
    1. String text
    )?,
  16. TextStyle? inputStyle,
  17. bool autofocus = false,
  18. bool? enabled,
  19. String? onTestError(
    1. String text
    )?,
})

Implementation

const RenameDialog({
  super.key,
  this.title,
  this.submitButton,
  this.cancelButton,
  this.middleButton,
  this.focusNode,
  this.label,
  this.hintText,
  this.maxLines = 1,
  this.isSelectedAll = false,
  this.textInputType,
  this.inputFormatters,
  this.onChanged,
  this.onTap,
  this.onSubmitted,
  this.inputStyle,
  this.autofocus = false,
  this.enabled,
  this.onTestError,
});