LATIHAN FLUTTER WEEK#1 : Image CLASS

LATIHAN FLUTTER WEEK#1 : Image CLASS

Sebelumnya baca tutorial : LATIHAN FLUTTER WEEK#1 : ROW CLASS

Ubah bagian body menjadi

body: new Center(
  child: new Row(
    children: <Widget>[
      Container(
        margin: EdgeInsets.all(5.0),
        width: 100.0,height: 100.0,color: Colors.orange,
        child: new Center(child: new Image.network("https://zulkifli15.files.wordpress.com/2017/02/java1.gif?w=247&h=247&crop=1&zoom=2"),),
      ),
      Container(
        margin: EdgeInsets.all(5.0),
        width: 100.0,height: 100.0,color: Colors.blueAccent,
        child: new Center(child: new Image.network("https://nethminirominaofficial.files.wordpress.com/2018/02/newsletter_promo.png"),),
      ),
      Container(
        margin: EdgeInsets.all(5.0),
        width: 100.0,height: 100.0,color: Colors.redAccent,
        child: new Center(child: new Image.network("https://www.didierboelens.com/images/hummingbird_logo.png"),),
      )
    ],
  )
)

Semoga Bermanfaat

Flutter Developer