Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
b13e7f74
Commit
b13e7f74
authored
Sep 12, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
int jadi string untuk date
parent
e8d91351
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
admin_contact.dart
lib/dashboard/admin/admin_contact.dart
+10
-10
No files found.
lib/dashboard/admin/admin_contact.dart
View file @
b13e7f74
...
...
@@ -10,14 +10,14 @@ class Dashboard4 extends StatefulWidget {
}
class
MessageUser
{
int
id
;
String
date
;
String
name
;
String
email
;
String
message
;
String
number
;
MessageUser
(
this
.
id
,
this
.
date
,
this
.
name
,
this
.
email
,
this
.
message
,
...
...
@@ -27,12 +27,12 @@ class MessageUser {
class
_Dashboard4State
extends
State
<
Dashboard4
>
{
List
<
MessageUser
>
ListMessage
=
<
MessageUser
>[
MessageUser
(
1
,
"Jay"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
2
,
'nama
'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
1
,
"Jay
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
2
,
'nama'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
1
,
"Jay
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
2
,
'nama'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
1
,
"Jay
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
2
,
'nama
'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
"1"
,
"Jay"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
'2'
,
'Rizky
'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
'1'
,
"Arham
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
'2'
,
'Faid'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
'1'
,
"Bagas
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
'2'
,
'Fikri'
,
'email'
,
'message'
,
'nomer'
),
MessageUser
(
'1'
,
"Budi
"
,
'email'
,
'message'
,
'number'
),
MessageUser
(
'2'
,
'Fahrur
'
,
'email'
,
'message'
,
'nomer'
),
];
@override
...
...
@@ -94,7 +94,7 @@ class _Dashboard4State extends State<Dashboard4> {
// header :Text("Data Message User"),
columnSpacing:
150
,
columns:
[
DataColumn
(
label:
Text
(
"
ID
"
),),
DataColumn
(
label:
Text
(
"
Date
"
),),
DataColumn
(
label:
Text
(
"Name"
),),
DataColumn
(
label:
Text
(
"Email"
),),
DataColumn
(
label:
Text
(
"Message"
),),
...
...
@@ -131,7 +131,7 @@ class UserDataTableSource extends DataTableSource {
return
DataRow
.
byIndex
(
index:
index
,
cells:
<
DataCell
>[
DataCell
(
Text
(
'
${_user.
id
}
'
)),
DataCell
(
Text
(
'
${_user.
date
}
'
)),
DataCell
(
Text
(
'
${_user.name}
'
)),
DataCell
(
Text
(
'
${_user.email}
'
)),
DataCell
(
Text
(
'
${_user.message}
'
)),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment