useSnapshotController function

SnapshotController useSnapshotController({
  1. bool allowSnapshotting = false,
})

Implementation

SnapshotController useSnapshotController({bool allowSnapshotting = false}) {
  return useChangeNotifier(
      () => SnapshotController(allowSnapshotting: allowSnapshotting));
}