# FittedBox

menyesuaikan ukuran text pada parent

![ukuran berbeda menyesuaiakan space](https://3762189661-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzp3ilcKPKiqfMvAeZF%2F-M1wHBSUiGn2ElH3IayZ%2F-M1wHf6fXOTt_-6AifoF%2Fimage.png?alt=media\&token=6f98f284-dcc8-4e0d-b727-924c09ba5f40)



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

