Share.image constructor

const Share.image({
  1. ShareType? mimeType = ShareType.typeImage,
  2. required String title,
  3. required String path,
  4. String text = '',
})

Implementation

const Share.image(
    {this.mimeType = ShareType.typeImage,
    required this.title,
    required this.path,
    this.text = ''})
    : assert(mimeType != null),
      shares = const [];