NpmModalFlow constructor
const
NpmModalFlow({
- Key? key,
- required bool visible,
- required VoidCallback onClose,
- String? appName,
- dynamic onResolved()?,
- bool closeOnTrainingComplete = true,
- String? preferredPlatform,
- bool? forceExistingUser,
- bool testMode = false,
- String? basicProfileDescription,
- String? userPreferencesDescription,
- String? personalityTraitsDescription,
Implementation
const NpmModalFlow({
Key? key,
required this.visible,
required this.onClose,
this.appName,
this.onResolved,
this.closeOnTrainingComplete = true,
this.preferredPlatform, // Add preferred platform parameter
this.forceExistingUser, // Add forceExistingUser parameter
this.testMode = false, // Default to false
this.basicProfileDescription,
this.userPreferencesDescription,
this.personalityTraitsDescription,
}) : super(key: key);