NiceShareButton constructor

const NiceShareButton({
  1. Key? key,
  2. String? title,
  3. String? text,
  4. String? url,
  5. List<NiceShareTarget>? targets,
  6. void onShare(
    1. NiceShareTarget target
    )?,
  7. IconData icon = Icons.share,
  8. String? label,
})

Implementation

const NiceShareButton({
  super.key,
  this.title,
  this.text,
  this.url,
  this.targets,
  this.onShare,
  this.icon = Icons.share,
  this.label,
});