ScreenshotController class

Cannot capture Platformview due to issue https://github.com/flutter/flutter/issues/25306

Constructors

ScreenshotController()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

capture({double pixelRatio, Duration delay = const Duration(milliseconds: 20)}) Future<Uint8List>
captureAndSave(String directory, {String fileName, double pixelRatio, Duration delay = const Duration(milliseconds: 20)}) Future<String>
Captures image and saves to given path
captureAsUiImage({double pixelRatio = 1, Duration delay = const Duration(milliseconds: 20)}) Future<Image>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited