FittedBox

Scales and positions its child within itself according to fit. You can make your app responsive

Example:

FittedBox(
        fit: BoxFit.fitWidth, 
        child: Text('Hey this is my long text appbar title')
    ),

Last updated