GSField.textPlain constructor
GSField.textPlain(- {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,
- int? minLine,
- int? maxLine,
- String? hint,
- bool? showCounter}
)
Implementation
GSField.textPlain(
{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,
int? minLine,
int? maxLine,
String? hint,
bool? showCounter})
: super(key: key) {
model = GSTextPlainModel(
type: GSFieldTypeEnum.textPlain,
tag: tag,
title: title,
showTitle: showTitle ?? true,
errorMessage: errorMessage,
helpMessage: helpMessage,
prefixWidget: prefixWidget,
postfixWidget: postfixWidget,
required: required,
status: status,
value: value,
weight: weight,
hint: hint,
maxLine: maxLine,
minLine: minLine,
maxLength: maxLength,
showCounter: showCounter);
}