vsync property

  1. @Deprecated('Will be removed in 3.0.0')
  2. @internal
void Function(void task()) vsync

A function that controls the refresh rate of providers.

Defaults to refreshing providers at the end of the next event-loop.

Implementation

@Deprecated('Will be removed in 3.0.0')
@internal
void Function(void Function() task) get vsync {
  return vsyncOverride ?? _defaultVsync;
}