- 博客(8)
- 问答 (1)
- 收藏
- 关注
原创 flutter 手机号码自动输入
flutter 手机号码自动输入class _LoginMailState extends State<resetPassword> { final arguments; _LoginMailState({this.arguments}); //---缓存数据(声明控制器)--- TextEditingController _mobile = new TextEditingController(); static Map phone = { "value": nu
2020-09-01 20:54:58 572
原创 液体效果的页面切换组件LiquidSwipe更换滑动图标slideIconWidget
body: LiquidSwipe( pages: <Widget>[ Container( height: (G.screenHeight()-((G.screenHeight()/667)*166)-80), margin: EdgeInsets.only(top: 0), color: Colors.yellow, child: HomeTopWidget(), ), Contain
2020-09-01 20:54:34 459
原创 ListTile加分割线
child: Column( children: items.map((e) { return Slidable( key: Key(e['title']), actionPane: SlidableScrollActionPane(), //滑出选项的面板 动画 actionExtentRatio:.
2020-09-01 20:54:19 1680
原创 判断是否跳转页面
try { //获取当前房产信息 HttpRes.getHouseAddress({"mobile": userdata.mobile}).then((res) { print(res); if (res["code"] != 200) { G.toast(res["msg"]); return; } setState(() { ...
2020-09-01 20:54:02 893
原创 判断显示提示信息
Container( width: 220, margin: EdgeInsets.fromLTRB( (G.screenWidth()/375)*5, 0, 0, 0), child: Text(roomDefault!=null?(roomDefault.length>15?roomDefault.substring(0,15)+"...":roomDe.
2020-09-01 20:53:37 99
原创 2020-08-21
//--浮动按钮-- floatingActionButton: FloatingActionButton( child: Icon(Icons.add), onPressed: () => _service(), ), //发送短信的方法 _service() async { if (userdata != null) { HttpRes.emergencyContact({ "oldGuid": u
2020-09-01 20:53:17 66
原创 flutter image-picker 上传图片
画part页面 Container( alignment:Alignment.center , margin: EdgeInsets.only(top: 10,bottom: 30), padding: EdgeInsets.all(10), child: Column( children: <Widget>[
2020-09-01 20:52:30 622
原创 flutter 高德地图自定义返回当前位置按钮
在地图上添加一个自定义按钮 Container( margin: EdgeInsets.only(left:G.screenWidth()-51,top:G.screenHeight()/1.55), width: 45, height: 45, decoration: BoxDecoration( color: Colors.white, borderRad
2020-09-01 20:49:03 916
空空如也
WindowsInstaller故障?
2018-11-26
TA创建的收藏夹 TA关注的收藏夹
TA关注的人