mirrored_repositories/Widget-De-La-Semana-Flutter/fade_in_image
import 'package:flutter/material.dart';
 
void main() => runApp(MyApp());
 
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      home: MiPagina(),
    );
  }
}

class MiPagina extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('FadeInImage'),
      ),
      body:FadeInImage(
        placeholder: AssetImage('assets/loading.gif'),
        image: NetworkImage('https://picsum.photos/800/600'),
      )
    );
  }
}
