INNER CODE UNIT · Dart

Animator

flutterkit/zerker · lib/src/animate/animator.dart:13

class Animator {
  Function? onComplete;
  String status = "stop";

  ListMap _aniList = ListMap();
  Animation? _currentAni;
  int _framesLength = -1;

  bool get isEnabled {
    return _aniList.isEmpty != true;
  }

  set framesLength(int length) {
    this._framesLength = length;
    _aniList.forEach((Animation ani, _) => ani.framesLength = framesLength);
  }

  int get framesLength {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…