bagaimana cara mengatasi overvlowed di flutter

kenapa ya ada tulisan overvlowed by..

dan udah dicoba pakai

"resizetoavoidpadding" itu engga bisa..

ada cara lain??

https://www.flickr.com/photos/189104564@N08/50039308238/in/dateposted-public/

ini kodingannya

Widget _buildIklan() {
  return new Container(

    margin: EdgeInsets.fromLTRB(5, 20, 160, 20),
    // height: 300,
    // width: 1000,

    child: new Row(
      children: <Widget>[
        new Card(
          child: new Container(
            margin: EdgeInsets.fromLTRB(0, 10, 100, 10),
            width: 350,
            height: 200,
            decoration: BoxDecoration(
              borderRadius: BorderRadius.circular(16),
              color: Colors.white,
              boxShadow: [BoxShadow(
                color: Colors.black.withOpacity(0.2),
                blurRadius: 6,
                offset: Offset(1, 1)
              )],
               ),
               child: Column(
                 mainAxisAlignment: MainAxisAlignment.spaceBetween,
                 children: <Widget>[
                   Container(
                     width: 320,
                     height: 200,
                     decoration: BoxDecoration(
                       borderRadius: BorderRadius.only(
                         topLeft: Radius.circular(16),
                         topRight: Radius.circular(16),
                       ),
                       image: DecorationImage(
                         image: AssetImage(
                           'assets/images/s1.jpg'
                         ),
                         fit: BoxFit.fill
                       ),
                     ),
                   ),

                   Container(
                     margin: EdgeInsets.only(
                       left: 15,
                       right: 0,
                       top: 5,
                     ),
                     child: Column(
                       children: <Widget>[
                         Text("WORLD OF WONDERS THEMEPARK",
                         textAlign: TextAlign.start,
                         maxLines: 6,
                         style: TextStyle(
                           fontSize: 20, fontWeight: FontWeight.bold
                         ),
                         )
                       ],
                     ),
                   ),

                   Container(
                     margin: EdgeInsets.only(bottom: 5),
                     child: Column(
                       children: <Widget>[
                         Text("starting from", textAlign: TextAlign.start,style: TextStyle(color: Colors.grey),),
                         Text("RP.65.000",textAlign: TextAlign.start, style: TextStyle(color: Colors.grey[800], fontWeight: FontWeight.bold),),
                       ],
                     ),
                   ),

                   Container(
                     child: new Row(
                       children: <Widget>[
                         Icon(Icons.date_range, color: Colors.grey,),
                         Text("22 Dec 2018 - 31 Dec 2020",
                         maxLines: 2,
                         textAlign: TextAlign.start, style: TextStyle(color: Colors.grey),),
                       ],
                     ),
                   ),

                   Container(
                     child: new Row(
                       children: <Widget>[
                         Icon(Icons.access_time, color: Colors.grey,),
                         Text("09.00 -17.00",
                         maxLines: 2,
                         textAlign: TextAlign.start, style: TextStyle(color: Colors.grey,),),
                       ],
                     ),
                   ),

                   Container(
                     child: Row(
                       children: <Widget>[
                         Icon(Icons.location_on, color: Colors.grey,),
                         Text("world of wonders theme park",
                         maxLines: 2,
                         textAlign: TextAlign.start, style: TextStyle(color: Colors.grey,),),
                       ],
                     ),
                   )
                 ],
               ),
          ),
        )
      ],
    ),
  );
}

avatar habibah13
@habibah13

2 Kontribusi 0 Poin

Dipost 4 tahun yang lalu

Belum ada Jawaban. Jadi yang pertama Jawaban

Login untuk ikut Jawaban