|
|
@@ -1637,42 +1637,32 @@ class _ProfilePageState extends State<ProfilePage> |
|
|
|
highlightColor: Colors.transparent,
|
|
|
|
radius: 0.0,
|
|
|
|
onTap: callback,
|
|
|
|
child: Column(
|
|
|
|
children: <Widget>[
|
|
|
|
Container(
|
|
|
|
height: 53,
|
|
|
|
margin: EdgeInsets.only(left: 20, bottom: 0, right: 10),
|
|
|
|
child: Row(
|
|
|
|
children: <Widget>[
|
|
|
|
left,
|
|
|
|
right,
|
|
|
|
showIcon
|
|
|
|
? Padding(
|
|
|
|
padding: EdgeInsets.only(right: 10),
|
|
|
|
child: Icon(
|
|
|
|
IconData(0xe63c, fontFamily: 'iconfont'),
|
|
|
|
size: 22.0,
|
|
|
|
color: Color(AppColors.TabIconNormal),
|
|
|
|
))
|
|
|
|
: Container()
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
showBorder ? _buildDivider() : Container(),
|
|
|
|
],
|
|
|
|
child: Container(
|
|
|
|
decoration: showBorder
|
|
|
|
? BoxDecoration(border: Border(bottom: Constants.GreyBorderSide))
|
|
|
|
: null,
|
|
|
|
alignment: Alignment.center,
|
|
|
|
padding: EdgeInsets.only(top: 17,bottom: 17,),
|
|
|
|
margin: EdgeInsets.only(left: 20, bottom: 0, right: 10),
|
|
|
|
child: Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
children: <Widget>[
|
|
|
|
left,
|
|
|
|
right,
|
|
|
|
showIcon
|
|
|
|
? Padding(
|
|
|
|
padding: EdgeInsets.only(right: 10),
|
|
|
|
child: Icon(
|
|
|
|
IconData(0xe63c, fontFamily: 'iconfont'),
|
|
|
|
size: 22.0,
|
|
|
|
color: Color(AppColors.TabIconNormal),
|
|
|
|
))
|
|
|
|
: Container()
|
|
|
|
],
|
|
|
|
),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
//下划线
|
|
|
|
Widget _buildDivider() {
|
|
|
|
return new Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 15),
|
|
|
|
height: 1,
|
|
|
|
decoration:
|
|
|
|
BoxDecoration(border: Border(bottom: Constants.GreyBorderSide)),
|
|
|
|
width: MediaQuery.of(context).size.width,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
testChatPermission(callback) {
|
|
|
|
becomeVip() {
|
|
|
|