Input.outline constructor
const
Input.outline({
- Key? key,
- TextEditingController? controller,
- Widget? prefixIcon,
- Widget? suffixIcon,
- Widget prefixIconBuilder(
- bool hasFocus
- Widget suffixIconBuilder(
- bool hasFocus
- Widget visibleWidgetBuilder(
- bool hasFocus
- Widget invisibleWidgetBuilder(
- bool hasFocus
- String? lableText,
- String? hintText,
- FocusNode? focusNode,
- bool obscureText = false,
- EdgeInsetsGeometry? contentPadding,
- Widget? error,
- InputBorder? errorBorder,
- String? errorText,
- TextStyle? errorStyle,
- int? errorMaxLines,
- TextStyle? floatingLabelStyle,
- FloatingLabelAlignment? floatingLabelAlignment,
- FloatingLabelBehavior? floatingLabelBehavior,
- Color? fillColor,
- Color? unFocusColor,
- TextInputType? keyboardType,
- int? maxLines,
- int? maxLength,
- int? minLines,
- bool expands = false,
- String obscuringCharacter = '•',
- TextInputAction? textInputAction,
- TextAlign textAlign = TextAlign.start,
- bool? enabled,
- bool enableSuggestions = true,
- Color? cursorErrorColor,
- double? cursorHeight,
- TextCapitalization textCapitalization = TextCapitalization.none,
- UndoHistoryController? undoController,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - TapRegionCallback? onTapOutside,
- FocusScopeNode? scopeNode,
- bool changedDelay = true,
- List<
TextInputFormatter> ? inputFormatters, - TextStyle? style,
- Color? cursorColor,
- Widget? clearWidget,
- Widget? visibleWidget,
- 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();