IntrinsicHeight Widget In Flutter

IntrinsicHeight Widget In Flutter :

IntrinsicHeight Widget In Flutter:
when unlimited height is available and you would like a child that would otherwise attempt to expand infinitely to instead size itself to a more reasonable height.

Screenshot :

IntrinsicHeight Widget In Flutter

IntrinsicHeight_Widget.dart

SafeArea(
            child: Container(
                margin: EdgeInsetsDirectional.fromSTEB(14.0, 4.0, 14.0, 4.0),
                decoration: BoxDecoration(
                  color: Colors.white,
                  borderRadius: BorderRadius.circular(10.0),
                  boxShadow: [BoxShadow(color: Colors.transparent)],
                ),
                child: IntrinsicHeight(
                    child: Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children: <Widget>[
                      Container(
                          width: 7.0,
                          decoration: BoxDecoration(
                              borderRadius: BorderRadius.only(
                                  topLeft: Radius.circular(10.0),
                                  bottomLeft: Radius.circular(10.0)),
                              color: Colors.green,
                              boxShadow: [
                                BoxShadow(color: Colors.transparent)
                              ])),
                      Flexible(
                          child: Container(
                              padding: const EdgeInsets.symmetric(
                                  vertical: 14.0, horizontal: 15.0),
                              child: RichText(
                                  textAlign: TextAlign.left,
                                  text: TextSpan(
                                    text: '',
                                    children: [
                                      TextSpan(
                                        style: TextStyle(color: Colors.black),
                                        text: 'Flutter Tutorial',
                                      ),
                                      TextSpan(
                                        style: TextStyle(color: Colors.grey),
                                        text: ' provide the best tutorials of flutter, dart, java, J2EE and kotlin. Flutter tutorial is cross platform language. Flutter tutorial provide customize widgets, animation, rest api call, ListView, GridView, BLoC Pattern, Local database, Firebase etc. Easy to make mobile application develop.',
                                      ),
                                      TextSpan(
                                        style: TextStyle(color: Colors.blue),
                                        text: ' Thanks',
                                      ),
                                    ],
                                  )))),
                      Container(
                          padding: EdgeInsets.all(10),
                          child: Column(
                              mainAxisAlignment: MainAxisAlignment.center,
                              children: <Widget>[Icon(Icons.add_a_photo)]),
                          decoration: BoxDecoration(
                              borderRadius: BorderRadius.only(
                                  topRight: Radius.circular(10.0),
                                  bottomRight: Radius.circular(10.0)),
                              color: Colors.grey.withOpacity(0.1)))
                    ]))))

The flutter tutorial  is a website that bring you the latest and amazing resources of code. All the languages codes are included in this website. The languages like flutter, android, java,kotlin etc.with the help of this languages any user can develop the beautiful application

For more information about Flutter. visit www.fluttertutorial.in