0 purchases
crcanimation
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),
),
),
),
);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.