【发布时间】:2021-08-16 00:56:42
【问题描述】:
**flutter app需要对tablet做出响应,if怎么写 ---------------------- 尺寸条件你能帮我吗**
Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size;
return WillPopScope(
onWillPop: _onWillPop,
child: Scaffold(
backgroundColor: Constant.BLACK_COLOR,
appBar: AppBar(
centerTitle: true,
******this is my example code , i need to make bigger font only in tablet ******
我尝试过sizer,但我还是个新手,如果你知道,请帮助我
【问题讨论】:
-
这能回答你的问题吗? stackoverflow.com/questions/50751226/…
标签: flutter responsive