1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] How to get the same letter size in the flutter

Discussão em 'Mobile' iniciado por Stack, Outubro 26, 2024 às 04:52.

  1. Stack

    Stack Membro Participativo

    All settings of the letters above and below are the same. However, as the contents of the letters change, the two sizes do not match each other. Is there a way to solve this?

    child: Column(
    mainAxisAlignment: MainAxisAlignment.start,
    children: [
    Container(height: 9,),
    Text(
    ' 24.07.23 16:31',
    style: TextStyle(
    color: Colors.white,
    fontWeight: FontWeight.w600,
    fontSize: 23,
    fontFamily: "Interop",
    ),
    ),
    Text(
    ' 24.10.15 16:01',
    style: TextStyle(
    color: Colors.white,
    fontWeight: FontWeight.w600,
    fontSize: 23,
    fontFamily: "Interop",

    ),
    ),
    ],
    ),


    [​IMG]

    I tried to use a code like textScaleFactor to match the font size, but I couldn't solve it.

    Continue reading...

Compartilhe esta Página