NLogin constructor

const NLogin({
  1. Key? key,
  2. required NdkFlutter ndkFlutter,
  3. void onLoggedIn()?,
  4. bool enableAccountCreation = true,
  5. bool enableNip05Login = true,
  6. bool enableNpubLogin = true,
  7. bool enableNsecLogin = true,
  8. bool enableNip07Login = true,
  9. bool enableBunkerLogin = true,
  10. bool enableAmberLogin = true,
  11. bool enablePubkeyLogin = true,
  12. NostrConnect? nostrConnect,
  13. String? nsecLabelText,
  14. 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/',
});