GSField.password constructor
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,
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,
);
}