SnapshotMode enum
Controls how the SnapshotWidget paints its child.
Values
- permissive → const SnapshotMode
-
The child is snapshotted, but only if all descendants can be snapshotted.
If there is a platform view in the children of a snapshot widget, the snapshot will not be used and the child will be rendered using SnapshotPainter.paint. This uses an un-snapshotted child and by default paints it with no additional modification.
- normal → const SnapshotMode
-
An error is thrown if the child cannot be snapshotted.
This setting is the default state of the SnapshotWidget.
- forced → const SnapshotMode
-
The child is snapshotted and any child platform views are ignored.
This mode can be useful if there is a platform view descendant that does not need to be included in the snapshot.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SnapshotMode> - A constant List of the values in this enum, in order of their declaration.