INNER CODE UNIT · Dart
_HomeScreenState
yunweneric/flutter-open-ui · lib/screens/home_screen.dart:14
class _HomeScreenState extends State<HomeScreen> with SingleTickerProviderStateMixin {
late AnimationController controller;
late Animation<double> fadeTextAnimation;
@override
void initState() {
controller = AnimationController(
vsync: this,
duration: Duration(milliseconds: 700),
);
fadeTextAnimation = Tween<double>(begin: 0, end: 1).animate(
CurvedAnimation(
parent: controller,
curve: Curves.easeOut,
),
);