标题变更

hmxc
小赖 4 years ago
parent 6f3a6e116e
commit 8c2118c100

@ -41,7 +41,7 @@ class _AnimateAppBarState extends State<AnimateAppBar> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
final appProvider = Provider.of<AppProvider>(context); final appProvider = Provider.of<AppProvider>(context);
return AppBar( return AppBar(
title: 'TEST'.text.make(), title: '人才公寓智慧小区'.text.make(),
backgroundColor: _bgColor, backgroundColor: _bgColor,
elevation: 0, elevation: 0,
centerTitle: true, centerTitle: true,

@ -52,7 +52,7 @@ class _TopicDetailPageState extends State<TopicDetailPage> {
SliverPersistentHeader( SliverPersistentHeader(
delegate: TopicSliverHeader( delegate: TopicSliverHeader(
id: widget.model.id, id: widget.model.id,
title: 'TEST', title: widget.model.summary,
imgPath: widget.model.firstImg, imgPath: widget.model.firstImg,
subTitle: widget.model.content, subTitle: widget.model.content,
), ),
@ -64,7 +64,7 @@ class _TopicDetailPageState extends State<TopicDetailPage> {
(context, index) { (context, index) {
final item = items[index] as EventItemModel; final item = items[index] as EventItemModel;
return ChatCard( return ChatCard(
model:item, model: item,
onDelete: () { onDelete: () {
_refreshController.callRefresh(); _refreshController.callRefresh();
}, },

Loading…
Cancel
Save