|
|
|
@ -449,7 +449,7 @@ class _SendTimelineState extends State<SendTimeline> { |
|
|
|
), |
|
|
|
child: Center( |
|
|
|
child: Text( |
|
|
|
"发送", |
|
|
|
"发布", |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 13.w, |
|
|
|
color: Colors.white |
|
|
|
@ -460,7 +460,35 @@ class _SendTimelineState extends State<SendTimeline> { |
|
|
|
sendTimeLine(); |
|
|
|
}),), |
|
|
|
body: Column( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
Container( |
|
|
|
width: 70.w, |
|
|
|
height: 70.w, |
|
|
|
margin: EdgeInsets.only( |
|
|
|
left: 15.w, |
|
|
|
), |
|
|
|
decoration: BoxDecoration( |
|
|
|
borderRadius: BorderRadius.all(Radius.circular(9.w)), |
|
|
|
border: Border.all(width: 1.w, color: const Color.fromRGBO(224, 224, 224, 1)) |
|
|
|
), |
|
|
|
child: Center( |
|
|
|
child: Icon( |
|
|
|
Icons.add, |
|
|
|
size: 35.w, |
|
|
|
color: const Color.fromRGBO(224, 224, 224, 1) |
|
|
|
), |
|
|
|
), |
|
|
|
).onTap(() { |
|
|
|
_showAvatarPopup(); |
|
|
|
}), |
|
|
|
SizedBox(height: 25.w,), |
|
|
|
Container( |
|
|
|
margin: EdgeInsets.symmetric(horizontal: 15.w,), |
|
|
|
width: 345.w, |
|
|
|
height: 1.w, |
|
|
|
color: const Color.fromRGBO(224, 224, 224, 1), |
|
|
|
), |
|
|
|
Expanded( |
|
|
|
child: Container( |
|
|
|
padding: EdgeInsets.symmetric(horizontal: 17.w, vertical: 10.w), |
|
|
|
@ -487,7 +515,7 @@ class _SendTimelineState extends State<SendTimeline> { |
|
|
|
vertical: 0, |
|
|
|
horizontal: 0 |
|
|
|
), |
|
|
|
hintText: "分享你的日常,让缘分更早来临~", |
|
|
|
hintText: "勇敢表达吧,你的有趣,总有人懂。", |
|
|
|
hintStyle: TextStyle( |
|
|
|
fontSize: 14.sp, |
|
|
|
color: Colors.grey, |
|
|
|
@ -685,21 +713,7 @@ class _SendTimelineState extends State<SendTimeline> { |
|
|
|
}), |
|
|
|
], |
|
|
|
), |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
Image.asset( |
|
|
|
Assets.imagesImg, |
|
|
|
width: 20.w, |
|
|
|
).onTap(() { |
|
|
|
_showAvatarPopup(); |
|
|
|
}), |
|
|
|
SizedBox(width: 25.w,), |
|
|
|
Image.asset( |
|
|
|
Assets.imagesEmoji, |
|
|
|
width: 18.w, |
|
|
|
).onTap(toggleEmojiPanel) |
|
|
|
], |
|
|
|
), |
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
|
), |
|
|
|
|