GSField.bankCard constructor

GSField.bankCard({
  1. Key? key,
  2. required String tag,
  3. String? title,
  4. String? errorMessage,
  5. String? helpMessage,
  6. Widget? prefixWidget,
  7. Widget? postfixWidget,
  8. bool? required,
  9. bool? showTitle,
  10. GSFieldStatusEnum? status,
  11. String? value,
  12. int? weight,
  13. RegExp? validateRegEx,
  14. int? minLine,
  15. int? maxLine,
  16. String? hint,
})

Implementation

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