SnapshotMode enum Null safety
Controls how the SnapshotWidget paints its child.
- 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.