NLogin constructor
const
NLogin({
- Key? key,
- required NdkFlutter ndkFlutter,
- void onLoggedIn()?,
- bool enableAccountCreation = true,
- bool enableNip05Login = true,
- bool enableNpubLogin = true,
- bool enableNsecLogin = true,
- bool enableNip07Login = true,
- bool enableBunkerLogin = true,
- bool enableAmberLogin = true,
- bool enablePubkeyLogin = true,
- NostrConnect? nostrConnect,
- String? nsecLabelText,
- String getStartedUrl = 'https://nstart.me/',
Implementation
const NLogin({
super.key,
required this.ndkFlutter,
this.onLoggedIn,
this.enableAccountCreation = true,
this.enableNip05Login = true,
this.enableNpubLogin = true,
this.enableNsecLogin = true,
this.enableNip07Login = true,
this.enableBunkerLogin = true,
this.enableAmberLogin = true,
this.enablePubkeyLogin = true,
this.nostrConnect,
this.nsecLabelText,
this.getStartedUrl = 'https://nstart.me/',
});