Closed merojosa closed 3 years ago
No, your Container
can be replaced with SizedBox
.
@override
Widget build(BuildContext context) {
return SizedBox(width: 270, child: _video);
}
Indeed you're right. My bad, I forgot that a SizedBox can have a child widget. Thanks!
Hello, guys. I just update lint 1.3.0. in one of my projects.
Then, I got a warning with this code:
The warnings says
SizedBox for whitespace
.I think it's a false positive. What do you think?