Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bisago-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ppl-fasilkom-ui
PPL Sosial
bisago
bisago-fe
Commits
ebd90b71
Commit
ebd90b71
authored
4 years ago
by
Putri Salsabila
Browse files
Options
Downloads
Patches
Plain Diff
[REFACTOR] Add navigation to detail post kegiatan page
parent
1e18a230
No related branches found
No related tags found
3 merge requests
!38
Sprint 3
,
!37
Pbi 9 info kegiatan
,
!31
Komentar Posting Kegiatan
Pipeline
#76795
failed
4 years ago
Stage: lint
Stage: test
Stage: sonarqube
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/page/filter_fasilitas/kegiatan.dart
+22
-4
22 additions, 4 deletions
lib/page/filter_fasilitas/kegiatan.dart
lib/page/filter_fasilitas/postingan/detail_post_kegiatan.dart
+1
-1
1 addition, 1 deletion
...page/filter_fasilitas/postingan/detail_post_kegiatan.dart
with
23 additions
and
5 deletions
lib/page/filter_fasilitas/kegiatan.dart
+
22
−
4
View file @
ebd90b71
//
import 'package:bisaGo/config/st
ring
s.dart';
import
'package:bisaGo/config/st
yle
s.dart'
;
import
'package:bisaGo/model/lokasi.dart'
;
import
'package:bisaGo/model/kegiatan.dart'
;
import
'package:bisaGo/page/filter_fasilitas/postingan/detail_post_kegiatan.dart'
;
import
'package:flutter/material.dart'
;
// import 'package:bisaGo/component/image_holder.dart';
import
'package:bisaGo/config/styles.dart'
;
import
'package:bisaGo/model/kegiatan.dart'
;
class
Kegiatan
extends
StatefulWidget
{
final
Lokasi
lokasi
;
...
...
@@ -24,7 +24,25 @@ class _KegiatanState extends State<Kegiatan> {
@override
Widget
build
(
BuildContext
context
)
{
return
InkWell
(
// key: Key('Kegiatan'),
key:
Key
(
'Kegiatan'
),
onTap:
()
{
Navigator
.
of
(
context
)
.
pushReplacement
(
MaterialPageRoute
(
builder:
(
BuildContext
context
)
=
>
DetailPostKegiatanPage
(
lokasi:
widget
.
lokasi
,
kegiatan:
KegiatanModel
(
id:
widget
.
kegiatan
.
id
,
namaLokasi:
widget
.
lokasi
.
name
,
creator:
widget
.
kegiatan
.
creator
,
namaKegiatan:
widget
.
kegiatan
.
namaKegiatan
,
penyelenggara:
widget
.
kegiatan
.
penyelenggara
,
narahubung:
widget
.
kegiatan
.
narahubung
,
deskripsi:
widget
.
kegiatan
.
deskripsi
,
timeStart:
widget
.
kegiatan
.
timeStart
,
timeEnd:
widget
.
kegiatan
.
timeEnd
),
)
));
},
child:
Container
(
margin:
const
EdgeInsets
.
only
(
bottom:
regularSpace
),
padding:
const
EdgeInsets
.
all
(
doubleSpace
),
...
...
This diff is collapsed.
Click to expand it.
lib/page/filter_fasilitas/postingan/detail_post_kegiatan.dart
+
1
−
1
View file @
ebd90b71
...
...
@@ -22,7 +22,7 @@ class DetailPostKegiatanPage extends StatefulWidget {
final
Lokasi
lokasi
;
final
KegiatanModel
kegiatan
;
// ganti model x // sudah
const
DetailPostKegiatanPage
(
{
@required
this
.
lokasi
,
@required
this
.
kegiatan
,
Key
key
})
{
@required
this
.
kegiatan
,
@required
this
.
lokasi
,
Key
key
})
:
super
(
key:
key
);
@override
_DetailPostKegiatanPageState
createState
()
=
>
_DetailPostKegiatanPageState
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment