crcanimation 0.0.3 crcanimation: ^0.0.3 copied to clipboard
A Flutter package for CRC animation. Subscribe to Code Red Clan!
CRC Animation #
A Flutter package for implementing CRC animation. Epic of animations wrap any widget with it and get animated.
Demo #
Check out this video demonstration of CRC Animation:
Watch the demo on YouTube: CRC Animation Demo
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),
),
),
),
);
}
}