SnapshotWidget constructor
- Key? key,
- SnapshotMode mode = SnapshotMode.normal,
- SnapshotPainter painter = const _DefaultSnapshotPainter(),
- bool autoresize = false,
- required SnapshotController controller,
- required Widget? child,
Create a new SnapshotWidget.
The controller
and child
arguments are required.
Implementation
const SnapshotWidget({
super.key,
this.mode = SnapshotMode.normal,
this.painter = const _DefaultSnapshotPainter(),
this.autoresize = false,
required this.controller,
required super.child
});