SafaehTextInputSheet constructor
const
SafaehTextInputSheet({
- Key? key,
- required String title,
- required String doneLabel,
- String? hint,
- String initialValue = '',
- int maxLines = 1,
- int? maxLength,
- bool obscureText = false,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- List<
TextInputFormatter> ? inputFormatters, - bool autocorrect = true,
- bool enableSuggestions = true,
- ValueChanged<
String> ? onChanged, - String? cancelLabel,
- bool showTitleInBody = true,
- SafaehTitleBuilder? titleBuilder,
- double? tabletBreakpoint,
- bool autofocus = true,
Implementation
const SafaehTextInputSheet({
super.key,
required this.title,
required this.doneLabel,
this.hint,
this.initialValue = '',
this.maxLines = 1,
this.maxLength,
this.obscureText = false,
this.keyboardType,
this.textInputAction,
this.inputFormatters,
this.autocorrect = true,
this.enableSuggestions = true,
this.onChanged,
this.cancelLabel,
this.showTitleInBody = true,
this.titleBuilder,
this.tabletBreakpoint,
this.autofocus = true,
});