📜  flutter mediaquery - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:08.349000             🧑  作者: Mango

代码示例1
Container(
  width: MediaQuery.of(context).size.width,
  color: Colors.blue,
  child: Text('I cover the whole width of the screen!')
)