rive_color_modifier 2.2.0 copy "rive_color_modifier: ^2.2.0" to clipboard
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.

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(),
      ),
    ),
  );
}
copied to clipboard
13
likes
160
points
280
downloads
screenshot

Publisher

verified publisherjsimon.dev

Weekly Downloads

2024.09.12 - 2025.03.27

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, rive

More

Packages that depend on rive_color_modifier