PayEngineField constructor
PayEngineField(})
Creates an instance of PayEngineField.
name: The name of the field.type: The type of the field (e.g., "text", "email").placeholder: Placeholder text shown when the field is empty.isRequired: Whether the field is mandatory.keyboardType: The keyboard type associated with the field. Defaults to PayEngineKeyboardType.normal.pattern: A regex pattern used for input validation. Ifnull, validation is not applied.
Implementation
PayEngineField(
this.name,
this.type,
this.placeholder,
this.isRequired, {
this.pattern,
this.keyboardType = PayEngineKeyboardType.normal,
});