title: Flutter - How to fix text overflow in a card?
body: <p>I'm building an app and I want to show this text but i need put some &quot;limit&quot; to not happen this:</p>
  <p><a href="https://i.stack.imgur.com/GyzeD.png" rel="nofollow noreferrer">card with overflow</a></p>
  <p>so, I tried a few things (like SizedBox to limit the text, AutoSizeText to change the font size... but i don't know how to limit this and make this responsive), but to no avail.</p>
  <p>this is the code of the card:</p>
  <pre><code>Card(
      child: Container(
        height: 120,
        child: Padding(
          padding: EdgeInsets.only(
            left: 15,
            right: 15,
            top: 10,
            bottom: 10,
          ),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: &lt;Widget&gt;[
              ClipOval(
                child: Image.network(
                  pedido.logomarca,
                  height: 90,
                  width: 90,
                ),
              ),
              Padding(
                padding: EdgeInsets.only(left: 20),
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                  children: &lt;Widget&gt;[
                    SizedBox(
                      child: AutoSizeText(
                        pedido.nomefantasia.toUpperCase(),
                        style: TextStyle(
                          fontWeight: FontWeight.bold,
                        ),
                      ),
                    ),
                    Row(
                      children: &lt;Widget&gt;[
                        ClipOval(
                          child: Container(
                            height: 10,
                            width: 10,
                            color: Colors.green,
                          ),
                        ),
                        Padding(
                          padding: EdgeInsets.only(
                            left: 8,
                          ),
                          child: Text(
                            pedido.statuspedidodescricao,
                            ),
                          ),
                        ),
                      ],
                    ),
                  ],
                ),
              ),
              Center(
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.center,
                  children: &lt;Widget&gt;[
                    Text(
                      DateFormat('dd/MM/yyyy').format(pedido.datavenda),
                      style: TextStyle(
                        color: Colors.blueGrey,
                        fontSize: 14,
                      ),
                    ),
                    Padding(
                      padding: EdgeInsets.only(top: 10),
                      child: Text(
                        'R\$ ${pedido.valortotal.toStringAsFixed(2).replaceAll('.', ',')}',
                        style: TextStyle(
                          color: Colors.green[600],
                          fontSize: 16,
                        ),
                      ),
                    ),
                    telefone
                        ? OutlineButton(
                            onPressed: () {},
                            splashColor: Colors.green,
                            highlightColor: Colors.green,
                            highlightedBorderColor: Colors.green,
                            child: Row(
                              mainAxisAlignment:
                                  MainAxisAlignment.spaceBetween,
                              children: &lt;Widget&gt;[
                                Text('Ligar'),
                                Padding(
                                  padding: EdgeInsets.only(left: 3),
                                  child: Icon(
                                    Icons.call,
                                    size: 15,
                                  ),
                                ),
                              ],
                            ),
                          )
                        : Container(),
                  ],
                ),
              ),
            ],
          ),
        ),
      ),
    ),
  </code></pre>