CommonTextFieldView constructor
const
CommonTextFieldView({
- Key? key,
- String hintText = '',
- bool isObscureText = false,
- EdgeInsetsGeometry padding = const EdgeInsets.only(bottom: 0, right: 0, top: 0, left: 0),
- dynamic onChanged()?,
- TextInputType keyboardType = TextInputType.text,
- bool isAllowTopTitleView = true,
- String? errorText,
- String? titleText = '',
- TextEditingController? controller,
- int? maxLength,
- double? pad = 16,
- BuildContext? contextNew,
- double? height,
- bool? enable = true,
Implementation
const CommonTextFieldView({
Key? key,
this.hintText = '',
this.isObscureText = false,
this.padding = const EdgeInsets.only(bottom: 0,right: 0,top: 0,left: 0),
this.onChanged,
this.keyboardType = TextInputType.text,
this.isAllowTopTitleView = true,
this.errorText,
this.titleText = '',
this.controller,
this.maxLength,
this.pad = 16,
this.contextNew,
this.height,
this.enable = true
}) : super(key: key);