lightweight-flutter-animations
Installation
SKILL.md
Lightweight Flutter Animations
Overview
First we need to create the abstract class:
abstract class AnimationWidget<T extends StatefulWidget> extends State<T>
with SingleTickerProviderStateMixin {
Duration elapsed = Duration.zero;
Duration delta = Duration.zero;
late final Ticker ticker;
BoxConstraints constraints = const BoxConstraints.tightFor();