movie detail app

Container(

        padding: const EdgeInsets.symmetric(

          vertical: 10.0,

          horizontal: 15.0,

        ),

        child: Column(

          crossAxisAlignment: CrossAxisAlignment.start,

          children: <Widget>[

            Image(

              fit: BoxFit.cover,

              width: MediaQuery.of(context).size.width,

              height: 150.0,

              image: AssetImage('assets/images/no_photo_available.png'),

            ),

            Row(

              children: <Widget>[

                 Image(

                    fit: BoxFit.cover,

                    width: 60.0,

                    height: 80.0,

                    image: AssetImage('assets/images/no_photo_available.png'),

                  ),


                SizedBox(

                  width: 15.0,

                ),

                Expanded(

                  child: Column(

                    mainAxisAlignment: MainAxisAlignment.start,

                    children: <Widget>[

                      Text('Learning',

                        style: TextStyle(fontSize: 8,fontWeight: FontWeight.w700,),

                        softWrap: true,

                        maxLines: 3,

                        overflow: TextOverflow.visible,

                        textAlign: TextAlign.start,

                      ),

                      Text('height from the bottom',

                        style: TextStyle(fontSize: 10,fontWeight: FontWeight.normal,),

                        softWrap: true,

                        maxLines: 3,

                        overflow: TextOverflow.visible,

                        textAlign: TextAlign.start,

                      ),

                      Text('which is the height from the bottom of the headline text to the base line of the subhead text.',

                        style: TextStyle(fontSize: 12,fontWeight: FontWeight.normal,),

                        softWrap: true,

                        maxLines: 3,

                        overflow: TextOverflow.visible,

                        textAlign: TextAlign.start,

                      ),

                    ],

                  ),

                ),

              ],

            ),

            Text('WATCH EPISODE',

              style: TextStyle(fontSize: 16,fontWeight: FontWeight.w700,),

              softWrap: true,

              maxLines: 3,

              overflow: TextOverflow.visible,

              textAlign: TextAlign.end,

            ),

          ],

        ),

      ),

Comments