LeanTextField constructor
const
LeanTextField({
- Key? key,
- required TextEditingController controller,
- String? hintText,
- double? textSizeOverride,
- Color? textColorOverride,
- Color? backgroundColorOverride,
- int? maxLinesOverride,
- double? width,
- double? height,
- Color? hintTextColor,
- ValueChanged<
String> ? onChanged, - bool readOnly = false,
- bool obscureText = false,
- TextInputType? keyboardType,
- Iterable<
String> ? autofillHints, - Icon? icon,
Implementation
const LeanTextField(
{Key? key,
required this.controller,
this.hintText,
this.textSizeOverride,
this.textColorOverride,
this.backgroundColorOverride,
this.maxLinesOverride, this.width, this.height, this.hintTextColor, this.onChanged, this.readOnly=false, this.obscureText=false, this.keyboardType, this.autofillHints, this.icon})
: super(key: key);