share static method

Future<void> share({
  1. @required String? title,
  2. @required String? message,
  3. @required String? url,
})

share Share url with custom title and custom description to 3rd party application

Implementation

static Future<void> share({
  @required String? title,
  @required String? message,
  @required String? url,
}) async {
  await FlutterShare.share(
    title: title!,
    text: '$title\n${message!}',
    linkUrl: url!,
    chooserTitle: 'Share To Friends',
  );
}