摘要:
Scaffold( appBar: PreferredSize( child: AppBar( ), preferredSize: Size.fromHeight(screenSize.height)) ); 使用脚手架Scaffold可以设置AppBar。 如果需要设置高度,在AppBar外包一层 阅读全文
摘要:
解决方案1 【推荐】 resizeToAvoidBottomPadding: false, //输入框抵住键盘 return Scaffold( appBar: AppBar( title: new Text("首页"), ), resizeToAvoidBottomPadding: false, 阅读全文