自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 453

原创 ListTile加分割线

child: Column( children: items.map((e) { return Slidable( key: Key(e['title']), actionPane: SlidableScrollActionPane(), //滑出选项的面板 动画 actionExtentRatio:.

2020-09-01 20:54:19 1676

原创 判断是否跳转页面

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 892

原创 判断显示提示信息

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 915

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除