Fakultas Ilmu Komputer UI

Verified Commit 125059ae authored by Muhammad Ariq Basyar's avatar Muhammad Ariq Basyar
Browse files

[CHORE] redirect to detail profile when click komentar's creator name

parent b16a7f3c
Pipeline #81604 passed with stages
in 18 minutes and 18 seconds
......@@ -635,11 +635,24 @@ class _DetailPostKegiatanPageState extends State<DetailPostKegiatanPage> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
name,
style: const TextStyle(fontSize: 18),
InkWell(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (_) => Profile(
email: email,
isPublic: true,
),
),
);
},
child: Text(
name,
style: const TextStyle(fontSize: 18),
),
),
Text('${DateFormat('dd MMMM yyy hh:mm').format(created)}',
Text('${DateFormat('dd MMMM yyyy hh:mm').format(created)}',
style: const TextStyle(color: grayPrimary, fontSize: 14))
],
),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment