LeanTextField constructor

const LeanTextField({
  1. Key? key,
  2. required TextEditingController controller,
  3. String? hintText,
  4. double? textSizeOverride,
  5. Color? textColorOverride,
  6. Color? backgroundColorOverride,
  7. int? maxLinesOverride,
  8. double? width,
  9. double? height,
  10. Color? hintTextColor,
  11. ValueChanged<String>? onChanged,
  12. bool readOnly = false,
  13. bool obscureText = false,
  14. TextInputType? keyboardType,
  15. Iterable<String>? autofillHints,
  16. 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);