GSFieldModel constructor
GSFieldModel(- {GSFieldTypeEnum? type,
- required String tag,
- bool? showTitle,
- String? title,
- String? errorMessage,
- String? helpMessage,
- Widget? prefixWidget,
- Widget? postfixWidget,
- bool? required,
- dynamic defaultValue,
- RegExp? validateRegEx,
- int? weight,
- FocusNode? focusNode,
- FocusNode? nextFocusNode,
- GSFieldStatusEnum? status}
)
Implementation
GSFieldModel({
this.type,
required this.tag,
this.showTitle,
this.title,
this.errorMessage,
this.helpMessage,
this.prefixWidget,
this.postfixWidget,
this.required,
this.defaultValue,
this.validateRegEx,
this.weight,
this.focusNode,
this.nextFocusNode,
GSFieldStatusEnum? status,
}) : status = status ?? GSFieldStatusEnum.normal;