0

I want all the items to be at the bottom, the padding should be added at the top if the container is big. I want Grid like this https://ibb.co/zrRQ8Hz but I'm able to achieve this https://ibb.co/2820csg .

The code I've written is as follows:

 Container(
                                                                              margin:
                                      new EdgeInsets.all(
                                          1.0),

                                      alignment:
                                      Alignment.center,

                                      decoration: BoxDecoration(
                                        borderRadius:
                                        BorderRadius
                                            .circular(5),
                                        border: Border.all(
                                            color: Color(0XFFc3c3c3)),
                                      ),
                                      child: Column(
                                        children: [ SizedBox(
                                          height: 5,
                                        ),
                                          RichText(
                                              text: TextSpan(children: [
                                                TextSpan(
                                                    text: "\u{20B9} ",
                                                                                                        ),
                                                TextSpan(
                                                    text: “100”,
                                                                                                    ),
                                              ])),
                                          SizedBox(
                                            height: 5,
                                          ),
                                          Container(
                                              width: double
                                                  .infinity,
                                              color: Color(0XFFc3c3c3)),
                                              child: Center(
                                                child: Text(
                                                  "Most Value",
                                                  style: TextStyle(
                                                      color: Colors
                                                          .white),
                                                ),
                                              )), SizedBox(
                                            height: 5,
                                          ),
                                        ],
                                      ),
                                    )
Darshan HK
  • 73
  • 1
  • 8

0 Answers0