Skip to content

Instantly share code, notes, and snippets.

@ebubekirsezer
Created July 25, 2020 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebubekirsezer/b1e7b9685ec9c508e243359f3122ea0c to your computer and use it in GitHub Desktop.
Save ebubekirsezer/b1e7b9685ec9c508e243359f3122ea0c to your computer and use it in GitHub Desktop.
Column buildColumnWithMediaQueries() {
return Column(
children: [
Container(
height: pageHeight * 0.3,
color: Colors.blue,
),
Container(
height: pageHeight * 0.2,
color: Colors.yellow,
),
Container(
height: pageHeight * 0.1,
width: pageWidth * 0.7,
color: Colors.red,
),
Container(
height: pageHeight * 0.1,
width: pageWidth * 0.5,
color: Colors.purple,
),
Container(
height: pageHeight * 0.1,
width: pageWidth * 0.3,
color: Colors.orange,
),
],
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment