NmAuthFlow constructor
const
NmAuthFlow({
- Key? key,
- required Widget logo,
- required String title,
- required String subtitle,
- required Future<
bool> onSignIn(), - required Future<
bool> onSignUp(), - required Future<
bool> onForgot(- String reason
- required Future<
bool> onSetPassword(- String reason
- NmAuthStep initial = NmAuthStep.signIn,
- bool busy = false,
- String? error,
- ValueChanged<
NmAuthStep> ? onStepChanged, - int minPasswordLength = 10,
Creates the flow.
Implementation
// written by Claude Code (generated by Claude Code), 2026-11-17; SDD: flows/sdd-nativemind-widgets-liendeed
const NmAuthFlow({
super.key,
required this.logo,
required this.title,
required this.subtitle,
required this.onSignIn,
required this.onSignUp,
required this.onForgot,
required this.onSetPassword,
this.initial = NmAuthStep.signIn,
this.busy = false,
this.error,
this.onStepChanged,
this.minPasswordLength = 10,
});