INNER CODE UNIT · Dart

AnimateDoBaseWidget

Klerith/animate_do_package · lib/src/types/animate_do_base.dart:15

abstract class AnimateDoBaseWidget extends StatefulWidget {
  const AnimateDoBaseWidget({
    super.key,
    required this.child,
    required this.duration,
    this.delay = Duration.zero,
    this.curve = Curves.easeOut,
    this.animate = true,
    this.infinite = false,
    this.manualTrigger = false,
    this.loopDelay = Duration.zero,
    this.controller,
    this.onFinish,
    this.onLoop,
  }) : assert(
          !manualTrigger || controller != null,
          'When manualTrigger is true, the controller callback must be provided '
          'so the consumer can drive the animation manually. Example:\n'

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…