LATIHAN FLUTTER WEEK#1 : Column Class

LATIHAN FLUTTER WEEK#1 : Column Class

Baca Tutorial sebelumnya : LATIHAN FLUTTER WEEK#1 : CONTAINER & ICON

Ubah bagian body menjadi

body: new Center(
  child: new Column(
    children: <Widget>[
      Container(
        margin: EdgeInsets.all(40.0),
        width: 100.0,height: 100.0,color: Colors.orange,
        child: new Center(child: new Icon(Icons.camera,color: Colors.white,size: 80.0,),),
      ),
      Container(
        margin: EdgeInsets.all(10.0),
        width: 100.0,height: 100.0,color: Colors.yellowAccent,
        child: new Center(child: new Icon(Icons.image,color: Colors.white,size: 80.0,),),
      ),
      Container(
        margin: EdgeInsets.all(10.0),
        width: 100.0,height: 100.0,color: Colors.redAccent,
        child: new Center(child: new Icon(Icons.favorite,color: Colors.white,size: 80.0,),),
      )
    ],
  ),
)

Column Class

Flutter Developer