ShareFilesAndScreenshotWidgets class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
shareFile(String title, String name, Uint8List bytes, String mimeType, {String text = ''})
→ dynamic
-
share any type of file using this function
-
shareScreenshot(GlobalKey<State<StatefulWidget>> previewContainer, int originalSize, String title, String name, String mimeType, {String text = ''})
→ dynamic
-
takes screenshot and invokes share
-
takeScreenshot(GlobalKey<State<StatefulWidget>> previewContainer, int originalSize)
→ Future<Image?>
-
takes screenshot of the widget and returns Image
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
file(String title, String name, List<int> bytes, String mimeType, {String text = ''})
→ Future<void>
-
writing file in temporary directory
-
files(String title, Map<String, List<int>> files, String mimeType, {String text = ''})
→ Future<void>
-
writing files in temporary directory
-
text(String title, String text, String mimeType)
→ void
-
for share related text