useSingleTickerProvider function

TickerProvider useSingleTickerProvider({
  1. List<Object?>? keys,
})

Creates a single usage TickerProvider.

See also:

Implementation

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