@ -39,7 +39,8 @@ class TopicCommunityViewState extends State<TopicCommunityView>
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Hero(
tag: "${model.firstImg}_${model.id}",
// tag: "${model.firstImg}_${model.id}",
tag: model.hashCode.toString(),
child: Container(
clipBehavior: Clip.antiAlias,
decoration: BoxDecoration(
@ -1,4 +1,5 @@
// Flutter imports:
import 'package:akuCommunity/ui/community/community_views/event_detail_page.dart';
import 'package:flutter/material.dart';
// Package imports:
@ -62,7 +63,9 @@ class MyEventCard extends StatelessWidget {
.paddingOnly(left: 32.w, top: isFirst ? 0 : 64.w, bottom: 32.w)
: SizedBox(),
MaterialButton(
onPressed: () {},
onPressed: () {
Get.to(EventDetailPage(themeId: model.id));
},
child: Row(