Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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.
 
PREVIOUS NEXT
Tagged: #unconstrained #box #flutter
ADD COMMENT
Topic
Name
3+6 =