CRC Animation
A Flutter package for implementing CRC animation.
Demo
Check out this video demonstration of CRC Animation:
Example
Here's an example of how to use CRC Animation:
import 'package:flutter/material.dart';
import 'package:crcanimation/crcanimation.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('CRC Animation Example'),
),
body: Center(
child: CRCAnimation.applyAnimation(
child: const Text(
'Youtube: Code Red Clan',
),
type: AnimationType.bounce,
context: context,
//Duration is optional
duration: Duration(seconds: 1),
),
),
),
);
}
}
## Installation
To use `crcanimation`, add it to your `pubspec.yaml`:
```yaml
dependencies:
crcanimation: ^0.0.2