Answers for "unconstrained box flutter"

C
0

unconstrained box flutter

// this box can give whatever size you want despite the size of the screen or
// it's parent's size.... but will give you overflow error if any...

UnconstrainedBox(
      child: Container(color: red, width: 40, height: 50),
    )
  
// if you don't want any overflow error then prefer using 'overflowbox' instead.
Posted by: Guest on February-01-2022

Code answers related to "C"

Browse Popular Code Answers by Language