Configuration Guide¶
The Aiuta Flutter SDK is highly configurable to meet your specific needs.
Basic Configuration¶
The SDK is configured using the AiutaConfiguration
class, which contains several key components:
import 'package:aiuta_flutter/aiuta_flutter.dart';
final configuration = AiutaConfiguration( // (1)!
auth: AiutaAuth(...), // (2)!
userInterface: AiutaUserInterfaceConfiguration(...), // (3)!
features: AiutaFeatures(...), // (4)!
analytics: AiutaAnalytics(...) | null, // (5)!
debugSettings: AiutaDebugSettings(...) // (6)!
);
final aiuta = Aiuta(configuration: configuration);
- The main configuration class that initializes all SDK components. All required parameters must be provided, while analytics is optional
- Required: Handles API authentication and token management
- Required: Controls SDK presentation and visual appearance
- Required: Manages SDK features and their interactions
- Optional: Tracks SDK events and user interactions
- Required: Controls logging and validation behavior
Configuration Scheme¶
The Aiuta SDK for Flutter employs a standardized configuration scheme consistent with our other SDKs. Just as the primary AiutaConfiguration
and its associated property class names have been modified to adhere to the naming conventions, all other internal classes will be updated similarly.
- Please refer to the configuration scheme
Next Step¶
- Learn how to initialize and use the SDK