GSNumberModel constructor

GSNumberModel({
  1. dynamic type,
  2. dynamic tag,
  3. dynamic title,
  4. dynamic errorMessage,
  5. dynamic helpMessage,
  6. dynamic prefixWidget,
  7. dynamic postfixWidget,
  8. dynamic required,
  9. dynamic status,
  10. dynamic value,
  11. dynamic validateRegEx,
  12. dynamic weight,
  13. dynamic focusNode,
  14. dynamic showTitle,
  15. dynamic enableReadOnly,
  16. dynamic onTap,
  17. bool? showCounter,
  18. int? maxLength,
  19. String? hint,
})

Implementation

GSNumberModel(
    {type,
    tag,
    title,
    errorMessage,
    helpMessage,
    prefixWidget,
    postfixWidget,
    required,
    status,
    value,
    validateRegEx,
    weight,
    focusNode,
    showTitle,
    enableReadOnly,
    onTap,
    this.showCounter,
    this.maxLength,
    this.hint})
    : super(
        type: type,
        tag: tag,
        title: title,
        errorMessage: errorMessage,
        helpMessage: helpMessage,
        prefixWidget: prefixWidget,
        postfixWidget: postfixWidget,
        required: required,
        status: status,
        value: value,
        validateRegEx: validateRegEx,
        weight: weight,
        focusNode: FocusNode(),
        showTitle: showTitle,
        enableReadOnly: enableReadOnly,
        onTap: onTap,
      );