INNER CODE UNIT · Dart

FadeAnimation

afgprogrammer/Flutter-examples · lib/fade_animation.dart:4

class FadeAnimation extends StatefulWidget {
  const FadeAnimation({ Key? key }) : super(key: key);

  @override
  _FadeAnimationState createState() => _FadeAnimationState();
}

class _FadeAnimationState extends State<FadeAnimation> {
  bool _visible = true;

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 300,
      child: Column(
        children: [
          AnimatedOpacity(
            opacity: _visible ? 1 : 0, 

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…