content: import 'package:flutter/material.dart';
  
  void main() => runApp(const MyApp());
  
  class MyApp extends StatelessWidget {
    const MyApp({super.key});
  
    @override
    Widget build(BuildContext context) {
      return const MaterialApp(home: CustomTweenAnimation());
    }
  }
  
  class CustomTweenAnimation extends StatefulWidget {
    const CustomTweenAnimation({super.key});
  
    @override
    _CustomTweenAnimationState createState() => _CustomTweenAnimationState();
  }
  
  class _CustomTweenAnimationState extends State<CustomTweenAnimation> with SingleTickerProviderStateMixin {
    late AnimationController _controller;
    late Animation<double> _animation;
  
    @override
    void initState() {
      super.initState();
      _controller = AnimationController(duration: const Duration(seconds: 2), vsync: this);
      _animation = Tween<double>(begin: 0, end: 100).animate(_controller)..addListener(() {
        setState(() {});
      });
      _controller.forward();
    }
  
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(title: const Text('Custom Scroll Animation')),
        body: Transform.translate(
          offset: Offset(0, _animation.value),
          child: ListView.builder(
            itemCount: 20,
            itemBuilder: (context, index) => ListTile(title: Text('Item $index')),
          ),
        ),
      );
    }
  }
  