rive_color_modifier 2.2.0
rive_color_modifier: ^2.2.0 copied to clipboard
An easy and straightforward way to modify the Color of specific Components within Rive Animations at runtime, while also maintaining their opacity throughout the animation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rive_color_modifier
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rive_color_modifier: ^2.2.0
copied to clipboard
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rive_color_modifier/rive_color_modifier.dart';
copied to clipboard