SafaehTextInputSheet constructor

const SafaehTextInputSheet({
  1. Key? key,
  2. required String title,
  3. required String doneLabel,
  4. String? hint,
  5. String initialValue = '',
  6. int maxLines = 1,
  7. int? maxLength,
  8. bool obscureText = false,
  9. TextInputType? keyboardType,
  10. TextInputAction? textInputAction,
  11. List<TextInputFormatter>? inputFormatters,
  12. bool autocorrect = true,
  13. bool enableSuggestions = true,
  14. ValueChanged<String>? onChanged,
  15. String? cancelLabel,
  16. bool showTitleInBody = true,
  17. SafaehTitleBuilder? titleBuilder,
  18. double? tabletBreakpoint,
  19. 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,
});