useSnapshotController function
Implementation
@defineHook
SnapshotController useSnapshotController({bool allowSnapshotting = false}) {
return useChangeNotifier(
() => SnapshotController(allowSnapshotting: allowSnapshotting));
}
@defineHook
SnapshotController useSnapshotController({bool allowSnapshotting = false}) {
return useChangeNotifier(
() => SnapshotController(allowSnapshotting: allowSnapshotting));
}