visibleAddressFields property
Allowlist of field ids to render on the Add Address screen.
When null (default) every field from the API config / built-in defaults
is shown. When non-null, only fields whose KfInputField.id appears in
the list are rendered, in their original order. Pass an empty list to
hide all dynamic fields (Address Type chips and consent banner stay).
Split-address mode is derived from this list: include any of
flatHouseNo, addressLine1, addressLine2, addressLine3 to render
the granular split inputs instead of the single fullAddress textArea.
API submission still sends a single comma-joined address string and
the onFormSubmit callback receives the KwikAddress with split fields
populated.
Supported ids:
fullName, email, pincode, city, state, gender,
fullAddress (single-address mode),
flatHouseNo, addressLine1, addressLine2, addressLine3
(split-address mode).
Custom ids supplied via kfAssets.address_screen.input_field are also
supported.
Implementation
final List<String>? visibleAddressFields;