useSingleTickerProvider function

TickerProvider useSingleTickerProvider ({List<Object> keys })

Creates a single usage TickerProvider.

See also:

Implementation

TickerProvider useSingleTickerProvider({List<Object> keys}) {
  return Hook.use(
    keys != null
        ? _SingleTickerProviderHook(keys)
        : const _SingleTickerProviderHook(),
  );
}