GSField.password constructor

GSField.password({
  1. Key? key,
  2. required String tag,
  3. String? title,
  4. String? errorMessage,
  5. String? helpMessage,
  6. Widget? prefixWidget,
  7. bool? required,
  8. bool? showTitle,
  9. GSFieldStatusEnum? status,
  10. String? value,
  11. int? weight,
  12. RegExp? validateReg,
  13. int? maxLength,
  14. int? minLine,
  15. int? maxLine,
  16. bool? isEnable,
  17. String? hint,
  18. bool? readOnly,
})

Implementation

GSField.password({
  Key? key,
  required String tag,
  String? title,
  String? errorMessage,
  String? helpMessage,
  Widget? prefixWidget,
  bool? required,
  bool? showTitle,
  GSFieldStatusEnum? status,
  String? value,
  int? weight,
  RegExp? validateReg,
  int? maxLength,
  int? minLine,
  int? maxLine,
  bool? isEnable,
  String? hint,
  bool? readOnly,
}) : super(key: key) {
  model = GSPasswordModel(
    type: GSFieldTypeEnum.password,
    showTitle: showTitle ?? true,
    tag: tag,
    title: title,
    errorMessage: errorMessage,
    helpMessage: helpMessage,
    prefixWidget: prefixWidget,
    required: required,
    status: status,
    value: value,
    weight: weight,
    hint: hint,
    maxLength: maxLength,
    enableReadOnly: readOnly,
  );
}