Limited Box Flattern

 //this helps you provide with maximum width of its container or child 
 //can have... (can have less than that width though)
 *Note:- Should only be used with unconstrainedBox and doesn't work with center()
 
 UnconstrainedBox(
      child: LimitedBox(
        maxWidth: 100,
        child: Container(
          color: Colors.red,
          width: double.infinity,
          height: 100,
        ),), )
Open Octopus