2d-inc / Flare-Flutter

Load and get full control of your Rive files in a Flutter project using this library.
https://rive.app/
MIT License
2.55k stars 469 forks source link

add flare_flutter.dart entrypoint, add FlareSpammerActor, FlareProgressController #154

Open lukepighetti opened 5 years ago

lukepighetti commented 5 years ago

9ceb2db

Creates an entrypoint into the package that exports the most basic classes needed to consume FlareActor, FlareControls, and FlareController.

This makes flare_flutter compliant with community expectations for how to consume Dart packages by enabling the most common functionality with import 'package:flare_flutter/flare_flutter.dart'

78c8bc2 & 84535f2

adds FlareSpammerActor which allows mobile app developers to trigger a single animation multiple times simultaneously similar to the heart/like streams on Facebook live streams.

81edadb & 483e00d

Adds FlareProgressController which allows naive scrubbing through an animation which is useful for wiring up scroll based animations, progress bars, or connecting to a flutter AnimationController.