|
|
@@ -366,33 +366,6 @@ class _ChatPageState extends State<ChatPage> { |
|
|
|
child: Scaffold(
|
|
|
|
resizeToAvoidBottomInset: false,
|
|
|
|
backgroundColor: const Color(0xFFE2E9F1),
|
|
|
|
// appBar: PreferredSize(
|
|
|
|
// preferredSize: Size.fromHeight(58),
|
|
|
|
// child: Container(
|
|
|
|
// color: AppBarTheme.of(context).color,
|
|
|
|
// child: SafeArea(
|
|
|
|
// child: Container(
|
|
|
|
// height: 56,
|
|
|
|
// child: Row(children: <Widget>[
|
|
|
|
// SizedBox(width: 10),
|
|
|
|
// CustomUI.buildCustomLeading(context),
|
|
|
|
// Text(
|
|
|
|
// Provider.of<RefNameProvider>(context)
|
|
|
|
// .getRefName(friendInfo.userId,
|
|
|
|
// friendInfo.nickName),
|
|
|
|
// textScaleFactor: 1.0,
|
|
|
|
// style: TextStyle(
|
|
|
|
// textBaseline: TextBaseline.ideographic,
|
|
|
|
// color: Constants.BlackTextColor,
|
|
|
|
// fontSize: 16.47),
|
|
|
|
// ),
|
|
|
|
// Expanded(
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment:
|
|
|
|
// MainAxisAlignment.end,
|
|
|
|
// children: actions))
|
|
|
|
// ]),
|
|
|
|
// )))),
|
|
|
|
appBar: AppBar(
|
|
|
|
title: Text(
|
|
|
|
'${Provider.of<RefNameProvider>(context).getRefName(friendInfo.userId, friendInfo.nickName)}',
|
|
|
|