NName constructor

const NName({
  1. Key? key,
  2. required Ndk ndk,
  3. String? pubkey,
  4. Metadata? metadata,
  5. TextStyle? style,
  6. int? maxLines = 1,
  7. TextOverflow? overflow = TextOverflow.ellipsis,
  8. bool displayNpub = false,
})

Implementation

const NName({
  super.key,
  required this.ndk,
  this.pubkey,
  this.metadata,
  this.style,
  this.maxLines = 1,
  this.overflow = TextOverflow.ellipsis,
  this.displayNpub = false,
});