CommonTextFieldView constructor

const CommonTextFieldView({
  1. Key? key,
  2. String hintText = '',
  3. bool isObscureText = false,
  4. EdgeInsetsGeometry padding = const EdgeInsets.only(bottom: 0, right: 0, top: 0, left: 0),
  5. dynamic onChanged(
    1. String
    )?,
  6. TextInputType keyboardType = TextInputType.text,
  7. bool isAllowTopTitleView = true,
  8. String? errorText,
  9. String? titleText = '',
  10. TextEditingController? controller,
  11. int? maxLength,
  12. double? pad = 16,
  13. BuildContext? contextNew,
  14. double? height,
  15. 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);