GSField.mobile constructor
GSField.mobile({})
Implementation
GSField.mobile({
Key? key,
required String tag,
String? title,
String? errorMessage,
String? helpMessage,
Widget? prefixWidget,
Widget? postfixWidget,
bool? required,
bool? showTitle,
GSFieldStatusEnum? status,
String? value,
int? weight,
RegExp? validateRegEx,
int? maxLength,
String? hint,
bool? readOnly,
}) : super(key: key) {
model = GSMobileModel(
type: GSFieldTypeEnum.mobile,
tag: tag,
title: title,
errorMessage: errorMessage,
helpMessage: helpMessage,
prefixWidget: prefixWidget,
postfixWidget: postfixWidget,
required: required,
showTitle: showTitle ?? true,
status: status,
value: value,
weight: weight,
maxLength: maxLength,
hint: hint,
enableReadOnly: readOnly,
);
}