flutter gif

import 'package:flutter/material.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  var gg = 120;

  @override
  Widget build(BuildContext context) {
    var title = 'Web Images';
    print("zhege:${gg}");
    return new MaterialApp(
      title: title,
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text(title),
        ),
        body: Container(
        color: Colors.red,
        height: 500.0,
         300.0,

          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            crossAxisAlignment: CrossAxisAlignment.center,
            mainAxisSize: MainAxisSize.min,
            verticalDirection: VerticalDirection.up,
            children: <Widget>[
              Container(
                color: Colors.red,
                child: Text("Column组件1",),
              ),
              Container(
                color: Colors.red,
                child: new Image.network(
                  'http://5b0988e595225.cdn.sohucs.com/q_mini,c_zoom,w_640/images/20171007/f1cfa788964748a6b932b75c68954f26.gif',
                ),
              ),
              Container(
                color: Colors.red,
                child: new Image.network(
                  'http://a2.qpic.cn/psb?/V103QLwW3tNJ8h/L1pgnun*HP5hpxJvgD39QU*vVyoeLkoiWPyqV8FCUMk!/a/dGUAAAAAAAAA&bo=uQKAAgAAAAAFFw0!&rf=viewer_0&t=5',
                ),
              ),

            ],
          ),
        ),
      ),
    );
  }
}
原文地址:https://www.cnblogs.com/gaozhang12345/p/12013146.html