03 2020 档案

摘要:ShapeBorder 抽象类 继续关系: BoxDecoration:实现边框、圆角、阴影、形状、渐变、背景图像 RoundedRectangleBorder 设置圆角比较方便 shape:RoundedRectangleBorder(borderRadius: BorderRadius.all( 阅读全文
posted @ 2020-03-24 00:57 安徽胡峻 阅读(1080) 评论(0) 推荐(0)
摘要:Scaffold( appBar: PreferredSize( child: AppBar( ), preferredSize: Size.fromHeight(screenSize.height)) ); 使用脚手架Scaffold可以设置AppBar。 如果需要设置高度,在AppBar外包一层 阅读全文
posted @ 2020-03-19 23:32 安徽胡峻 阅读(2943) 评论(0) 推荐(0)
摘要:解决方案1 【推荐】 resizeToAvoidBottomPadding: false, //输入框抵住键盘 return Scaffold( appBar: AppBar( title: new Text("首页"), ), resizeToAvoidBottomPadding: false, 阅读全文
posted @ 2020-03-19 16:16 安徽胡峻 阅读(618) 评论(0) 推荐(0)
摘要:常用插件 作用 包名 备注 作用 包名 备注 路由 flutter_boost 路由 录音、播放 audio_recorder 路由 alibaba 录音 flutter_sound app下载更新插件 install_plugin 权限获取 simple_permissions 提示框组件 eas 阅读全文
posted @ 2020-03-09 15:37 安徽胡峻 阅读(1060) 评论(0) 推荐(0)