Search packages, repositories and app categories

Package detailsv0.5.1

vsync_provider

VsyncProvider provides vsync for AnimationController. This works with provider package.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
728
Likes
10
Pub points
150

Install package

flutter pub add vsync_provider

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

VsyncProvider is a Flutter package that supplies vsync (vertical sync) to AnimationController instances, ensuring smooth and efficient animations. It integrates seamlessly with the Provider package, enabling state management for animation-related logic. By leveraging vsync, it prevents unnecessary frame updates and improves performance, especially in complex animations or when multiple controllers are active. Ideal for developers using Provider for dependency injection who want precise control over animation timing.

Use cases

  • Managing animation timing in complex UIs
  • Integrating animation controllers with Provider
  • Optimizing performance in animated widgets
  • Synchronizing multiple animations
  • Building reusable animation components
  • Reducing jank in scroll-driven animations

Key features

  • Seamless integration with Provider
  • Automatic vsync handling
  • Improved animation performance
  • Supports all Flutter platforms
  • Lightweight and minimal overhead
  • Easy setup with existing provider patterns

Suitable for

  • Developers using Provider for state management
  • Apps with heavy animation usage
  • Performance-critical UI components
  • Cross-platform animation projects
  • Teams seeking clean animation architecture

Considerations

  • Requires Provider package to be installed
  • Limited to use with AnimationController
  • May add complexity for simple animations
  • Not needed for basic animations
  • Best suited for advanced animation workflows

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

vsync_provider

VsyncProvider provides vsync for AnimationController. This works with provider package.

Example

  • https://github.com/mono0926/vsync_provider/tree/master/example

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package