Skip to content
RED SAGSkills
hard20 pts · first answer countscross-platform-mobileflutterlayout

Container ignores its width

Why does this Container fill the whole screen instead of being 100 × 100?

void main() => runApp(
  Container(width: 100, height: 100, color: Colors.red),
);
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions