INNER CODE UNIT · Dart

_AuroraBackgroundState

flutterfx/flutterfx_widgets · lib/background-aurora/aurora_widget.dart:103

class _AuroraBackgroundState extends State<AuroraBackground>
    with SingleTickerProviderStateMixin {
  late AnimationController _controller;
  late Animation<double> _animation;

  @override
  void initState() {
    super.initState();
    _controller = AnimationController(
      duration: const Duration(seconds: 10),
      vsync: this,
    )..repeat(reverse: true);

    _animation = Tween<double>(
      begin: -0.2,
      end: 1.2,
    ).animate(
      CurvedAnimation(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…