摘要: Scaffold( appBar: PreferredSize( child: AppBar( ), preferredSize: Size.fromHeight(screenSize.height)) ); 使用脚手架Scaffold可以设置AppBar。 如果需要设置高度,在AppBar外包一层 阅读全文
posted @ 2020-03-19 23:32 安徽胡峻 阅读(2870) 评论(0) 推荐(0) 编辑
摘要: 解决方案1 【推荐】 resizeToAvoidBottomPadding: false, //输入框抵住键盘 return Scaffold( appBar: AppBar( title: new Text("首页"), ), resizeToAvoidBottomPadding: false, 阅读全文
posted @ 2020-03-19 16:16 安徽胡峻 阅读(529) 评论(0) 推荐(0) 编辑