AppConstants class

Central configuration constants used throughout the Form.io Flutter SDK.

This includes base API URL, headers, timeouts, and other global definitions needed across services and utilities.

Constructors

AppConstants()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

authTokenHeader → const String
Header used for authenticated requests with JWT tokens.
baseUrl → const String
Base URL for your Form.io project or instance. Example: 'https://yourproject.form.io'
defaultCurrencySymbol → const String
Default currency symbol used for currency components (fallback).
defaultDateFormat → const String
Common date format (ISO 8601).
defaultFieldLabel → const String
Placeholder used when no label is provided.
defaultFormPath → const String
Default path for fetching a form if not specified.
jsonContentType → const String
Default content-type for API requests.
requestTimeout → const Duration
Request timeout duration for HTTP calls.