rive_color_modifier 2.1.3 copy "rive_color_modifier: ^2.1.3" to clipboard
rive_color_modifier: ^2.1.3 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(),
      ),
    ),
  );
}
13
likes
160
points
517
downloads
screenshot

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, rive

More

Packages that depend on rive_color_modifier