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 470 forks source link

Add Custom Properties #236

Open umberto-sonnino opened 4 years ago

umberto-sonnino commented 4 years ago

CustomProperties are implemented with their relative keyframes as a generic class CustomProperty<T>. The static read() function will instantiate the class and read its values, throwing if the generic parameter provided is not a supported type.