Input.outline constructor

const Input.outline({
  1. Key? key,
  2. TextEditingController? controller,
  3. Widget? prefixIcon,
  4. Widget? suffixIcon,
  5. Widget prefixIconBuilder(
    1. bool hasFocus
    )?,
  6. Widget suffixIconBuilder(
    1. bool hasFocus
    )?,
  7. Widget visibleWidgetBuilder(
    1. bool hasFocus
    )?,
  8. Widget invisibleWidgetBuilder(
    1. bool hasFocus
    )?,
  9. String? lableText,
  10. String? hintText,
  11. FocusNode? focusNode,
  12. bool obscureText = false,
  13. EdgeInsetsGeometry? contentPadding,
  14. Widget? error,
  15. InputBorder? errorBorder,
  16. String? errorText,
  17. TextStyle? errorStyle,
  18. int? errorMaxLines,
  19. TextStyle? floatingLabelStyle,
  20. FloatingLabelAlignment? floatingLabelAlignment,
  21. FloatingLabelBehavior? floatingLabelBehavior,
  22. Color? fillColor,
  23. Color? unFocusColor,
  24. TextInputType? keyboardType,
  25. int? maxLines,
  26. int? maxLength,
  27. int? minLines,
  28. bool expands = false,
  29. String obscuringCharacter = '•',
  30. TextInputAction? textInputAction,
  31. TextAlign textAlign = TextAlign.start,
  32. bool? enabled,
  33. bool enableSuggestions = true,
  34. Color? cursorErrorColor,
  35. double? cursorHeight,
  36. TextCapitalization textCapitalization = TextCapitalization.none,
  37. UndoHistoryController? undoController,
  38. ValueChanged<String>? onChanged,
  39. VoidCallback? onEditingComplete,
  40. ValueChanged<String>? onSubmitted,
  41. TapRegionCallback? onTapOutside,
  42. FocusScopeNode? scopeNode,
  43. bool changedDelay = true,
  44. List<TextInputFormatter>? inputFormatters,
  45. TextStyle? style,
  46. Color? cursorColor,
  47. Widget? clearWidget,
  48. Widget? visibleWidget,
  49. Widget? invisibleWidget,
})

Implementation

const Input.outline({
  super.key,
  this.controller,
  this.prefixIcon,
  this.suffixIcon,
  this.prefixIconBuilder,
  this.suffixIconBuilder,
  this.visibleWidgetBuilder,
  this.invisibleWidgetBuilder,
  this.lableText,
  this.hintText,
  this.focusNode,
  this.obscureText = false,
  this.contentPadding,
  this.error,
  this.errorBorder,
  this.errorText,
  this.errorStyle,
  this.errorMaxLines,
  this.floatingLabelStyle,
  this.floatingLabelAlignment,
  this.floatingLabelBehavior,
  this.fillColor,
  this.unFocusColor,
  this.keyboardType,
  this.maxLines,
  this.maxLength,
  this.minLines,
  this.expands = false,
  this.obscuringCharacter = '•',
  this.textInputAction,
  this.textAlign = TextAlign.start,
  this.enabled,
  this.enableSuggestions = true,
  this.cursorErrorColor,
  this.cursorHeight,
  this.textCapitalization = TextCapitalization.none,
  this.undoController,
  this.onChanged,
  this.onEditingComplete,
  this.onSubmitted,
  this.onTapOutside,
  this.scopeNode,
  this.changedDelay = true,
  this.inputFormatters,
  this.style,
  this.cursorColor,
  this.clearWidget,
  this.visibleWidget,
  this.invisibleWidget,
}) : this.border = const OutlineInputBorder();