TRenameDialog constructor
TRenameDialog({
- Key? key,
- Widget? title,
- String text = 'Untitled',
- String cancelText = 'Cancel',
- String submitText = 'Submit',
- void onCancel()?,
- required void onSubmit(
- String text
- Widget? renameLabelText,
- void onChanged(
- String text
- List<
TextInputFormatter> ? inputFormatters, - TextInputType? textInputType,
- String? onCheckIsError(
- String text
- bool autofocus = false,
- String? hintText,
Implementation
TRenameDialog({
super.key,
this.title,
this.text = 'Untitled',
this.cancelText = 'Cancel',
this.submitText = 'Submit',
this.onCancel,
required this.onSubmit,
this.renameLabelText,
this.onChanged,
this.inputFormatters,
this.textInputType,
this.onCheckIsError,
this.autofocus = false,
this.hintText,
});