Share.plainText constructor

const Share.plainText({
  1. required String title,
  2. required String text,
})

Implementation

const Share.plainText({required this.title, required this.text})
    : mimeType = ShareType.typePlainText,
      path = '',
      shares = const [];