SnapshotController constructor

SnapshotController(
  1. {bool allowSnapshotting = false}
)

Create a new SnapshotController.

By default, allowSnapshotting is false and cannot be null.

Implementation

SnapshotController({
  bool allowSnapshotting = false,
}) : _allowSnapshotting = allowSnapshotting;