MiddleInputDialog constructor
MiddleInputDialog({
- String? title,
- String? message,
- String? hintText,
- TextInputType? keyboardType,
- int maxLength = 20,
- int? maxLines,
- int minLines = 1,
- FocusNode? inputFocusNode,
- TextEditingController? inputEditingController,
- List<
TextInputFormatter> ? inputFormatters, - TextInputAction textInputAction = TextInputAction.newline,
- String? cancelText,
- String? confirmText,
- void onConfirm(
- String value
- VoidCallback? onCancel,
- bool dismissOnActionsTap = true,
- bool barrierDismissible = true,
- bool autoFocus = false,
- DialogConfig? themeData,
Implementation
MiddleInputDialog(
{this.title,
this.message,
this.hintText,
this.keyboardType,
this.maxLength = 20,
this.maxLines,
this.minLines = 1,
this.inputFocusNode,
this.inputEditingController,
this.inputFormatters,
this.textInputAction = TextInputAction.newline,
this.cancelText,
this.confirmText,
this.onConfirm,
this.onCancel,
this.dismissOnActionsTap = true,
this.barrierDismissible = true,
this.autoFocus = false,
this.themeData}) {
themeData ??= DialogConfig();
themeData = BaseThemeConfig.instance
.getConfig(configId: themeData!.configId)
.dialogConfig
.merge(themeData);
}