UniversalOnboarding constructor
const
UniversalOnboarding({
- Key? key,
- required String appName,
- required dynamic onAccountCreated(),
- dynamic onConnectionUpdated()?,
- Color primaryColor = const Color(0xFF2196F3),
- Color backgroundColor = Colors.white,
- bool showDebugInfo = false,
- bool darkMode = false,
- String? valuablePlatform,
- bool testMode = false,
- double height = 0.8,
- String? prefilledEmail,
- String? appLogo,
- List<
String> ? prioritize, - List<
String> ? only,
Implementation
const UniversalOnboarding({
Key? key,
required this.appName,
required this.onAccountCreated,
this.onConnectionUpdated,
this.primaryColor = const Color(0xFF2196F3), // Changed from green to blue
this.backgroundColor = Colors.white,
this.showDebugInfo = false,
this.darkMode = false, // Default to light mode
this.valuablePlatform,
this.testMode = false,
this.height = 0.8, // Default to 80% of screen height
this.prefilledEmail,
this.appLogo, // Path to app logo asset
this.prioritize, // List of platforms to prioritize
this.only, // List of platforms to show exclusively
}) : super(key: key);