FittedBox

menyesuaikan ukuran text pada parent

ukuran berbeda menyesuaiakan space

Column(
  children: <Widget>[
    FittedBox(child: Text('\$${spendidngAmount.toStringAsFixed(0)}')),
    SizedBox(
      height: 4,
    ),

Last updated

Was this helpful?