rive_color_modifier 2.1.1 copy "rive_color_modifier: ^2.1.1" to clipboard
rive_color_modifier: ^2.1.1 copied to clipboard

discontinued

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.

example/lib/main.dart

import 'package:animated_theme_switcher/animated_theme_switcher.dart';
import 'package:example/config/config.dart';
import 'package:example/screens/home_screen.dart';
import 'package:flutter/material.dart';

void main() {
  final appTheme = AppTheme(isDarkMode: false);

  runApp(
    ThemeProvider(
      initTheme: appTheme.getTheme(),
      builder: (context, theme) => MaterialApp(
        title: 'Rive Change Color Example',
        theme: theme,
        home: const HomeScreen(),
      ),
    ),
  );
}
16
likes
0
points
912
downloads

Publisher

verified publisherjsimon.dev

Weekly Downloads

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.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, rive

More

Packages that depend on rive_color_modifier