添加话题详情页面

hmxc
小赖 4 years ago
parent 786ce262a0
commit 869213c1e1

@ -0,0 +1,18 @@
import 'package:akuCommunity/widget/bee_scaffold.dart';
import 'package:flutter/material.dart';
class EventDetailPage extends StatefulWidget {
EventDetailPage({Key key}) : super(key: key);
@override
_EventDetailPageState createState() => _EventDetailPageState();
}
class _EventDetailPageState extends State<EventDetailPage> {
@override
Widget build(BuildContext context) {
return BeeScaffold(
title: '详情',
);
}
}

@ -2,6 +2,7 @@ import 'package:akuCommunity/base/base_style.dart';
import 'package:akuCommunity/constants/api.dart';
import 'package:akuCommunity/model/common/img_model.dart';
import 'package:akuCommunity/provider/user_provider.dart';
import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart';
import 'package:akuCommunity/utils/bee_date_util.dart';
import 'package:akuCommunity/utils/headers.dart';
import 'package:akuCommunity/utils/network/base_model.dart';
@ -216,7 +217,7 @@ class _ChatCardState extends State<ChatCard> {
child: MaterialButton(
padding: EdgeInsets.zero,
onPressed: () {
//TODO go to chat detail page.
Get.to(EventDetailPage());
},
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,

Loading…
Cancel
Save