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
5347ae80
Commit
5347ae80
authored
Sep 02, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard
parent
caa14fd5
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
151 additions
and
19 deletions
+151
-19
admin_dashboard.dart
lib/dashboard/admin/admin_dashboard.dart
+16
-0
admin_whatsapp.dart
lib/dashboard/admin/admin_whatsapp.dart
+121
-0
main_dashboard_admin.dart
lib/dashboard/admin/main_dashboard_admin.dart
+7
-11
contact_us2.dart
lib/screen/contact_us/contact_us2.dart
+1
-1
home2.dart
lib/screen/home/home2.dart
+1
-1
home4.dart
lib/screen/home/home4.dart
+5
-3
image_slide.dart
lib/widget/image_slide.dart
+0
-3
No files found.
lib/dashboard/admin/admin_dashboard.dart
0 → 100644
View file @
5347ae80
import
'package:flutter/material.dart'
;
class
Dashboard1
extends
StatelessWidget
{
const
Dashboard1
({
Key
?
key
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Stack
(
children:
[
Image
.
asset
(
'assets/images/medapp_image1.png'
,
height:
screenSize
.
height
,
width:
screenSize
.
width
,)
],
);
}
}
lib/dashboard/admin/admin_whatsapp.dart
0 → 100644
View file @
5347ae80
import
'package:flutter/material.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
class
Dashboard3
extends
StatefulWidget
{
const
Dashboard3
({
Key
?
key
})
:
super
(
key:
key
);
@override
State
<
Dashboard3
>
createState
()
=>
_Dashboard3State
();
}
class
_Dashboard3State
extends
State
<
Dashboard3
>
{
final
TextEditingController
phoneController
=
TextEditingController
();
@override
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Container
(
height:
screenSize
.
height
,
width:
screenSize
.
width
,
child:
Center
(
child:
Container
(
height:
screenSize
.
height
*
0.7
,
width:
screenSize
.
width
*
0.6
,
decoration:
BoxDecoration
(
color:
Colors
.
white60
,
borderRadius:
BorderRadius
.
circular
(
20
),
border:
Border
.
all
(
width:
5
,
color:
const
Color
.
fromARGB
(
255
,
10
,
116
,
255
),
),
boxShadow:
[
BoxShadow
(
color:
const
Color
.
fromARGB
(
255
,
10
,
116
,
255
)
.
withAlpha
(
60
),
blurRadius:
5.0
,
spreadRadius:
5.0
,
offset:
const
Offset
(
0.0
,
3.0
,
),
),
]),
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
Padding
(
padding:
EdgeInsets
.
symmetric
(
horizontal:
screenSize
.
width
*
0.08
),
child:
ListTile
(
minLeadingWidth:
10
,
leading:
Icon
(
Icons
.
whatsapp
,
color:
Colors
.
green
,
size:
40
),
title:
Text
(
'Change WhatsApp Admin Number'
,
style:
GoogleFonts
.
poppins
(
height:
1.5
,
fontSize:
25
,
fontWeight:
FontWeight
.
bold
,
color:
Colors
.
green
),
),
),
),
Form
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
spaceAround
,
children:
[
Container
(
width:
250
,
child:
TextFormField
(
controller:
phoneController
,
decoration:
const
InputDecoration
(
hintText:
"Enter a whatsapp number"
,
fillColor:
Colors
.
white
,
filled:
true
,
enabledBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
blue
),
),
focusedBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
blue
),
),
),
),
),
SizedBox
(
height:
20
,),
Container
(
height
:
40
,
width
:
180
,
child:
ElevatedButton
(
onPressed:
(){},
style:
ElevatedButton
.
styleFrom
(
primary:
Colors
.
blue
[
900
],
onSurface:
Colors
.
white
,
side:
BorderSide
(
color:
Colors
.
white
),
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
30
)
),
),
),
child:
Text
(
"Change Number"
,
style:
TextStyle
(
fontSize:
16
,
letterSpacing:
2
),
),
),
),
],
),
)
],
),
),
),
);
}
}
lib/dashboard/admin/main_dashboard_admin.dart
View file @
5347ae80
import
'package:flutter/material.dart'
;
import
'package:easy_sidemenu/easy_sidemenu.dart'
;
import
'package:medapp_eksad/dashboard/admin/admin_dashboard.dart'
;
import
'package:medapp_eksad/dashboard/admin/admin_whatsapp.dart'
;
class
DashboardAdmin
extends
StatefulWidget
{
const
DashboardAdmin
({
Key
?
key
})
:
super
(
key:
key
);
...
...
@@ -143,15 +145,7 @@ class _DashboardAdminState extends State<DashboardAdmin> {
child:
PageView
(
controller:
page
,
children:
[
Container
(
color:
Colors
.
white
,
child:
const
Center
(
child:
Text
(
'Dashboard'
,
style:
TextStyle
(
fontSize:
35
),
),
),
),
const
Dashboard1
(),
Container
(
color:
Colors
.
white
,
child:
const
Center
(
...
...
@@ -170,20 +164,22 @@ class _DashboardAdminState extends State<DashboardAdmin> {
),
),
),
Dashboard3
(),
Container
(
color:
Colors
.
white
,
child:
const
Center
(
child:
Text
(
'
Download
'
,
'
Settings
'
,
style:
TextStyle
(
fontSize:
35
),
),
),
),
Container
(
color:
Colors
.
white
,
child:
const
Center
(
child:
Text
(
'
Settings
'
,
'
Dashboard
'
,
style:
TextStyle
(
fontSize:
35
),
),
),
...
...
lib/screen/contact_us/contact_us2.dart
View file @
5347ae80
...
...
@@ -21,7 +21,7 @@ class ContactUs2 extends StatelessWidget {
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Container
(
height:
50
0
,
height:
46
0
,
width:
screenSize
.
width
,
// color: Colors.blue,
decoration:
const
BoxDecoration
(
...
...
lib/screen/home/home2.dart
View file @
5347ae80
...
...
@@ -11,7 +11,7 @@ class Home2 extends StatelessWidget {
return
Container
(
width:
screenSize
.
width
*
0.5
,
color:
const
Color
.
fromARGB
(
255
,
227
,
235
,
253
),
height:
screenSize
.
height
*
0.9
,
height:
screenSize
.
height
*
1.1
,
padding:
EdgeInsets
.
only
(
left:
screenSize
.
width
*
0.10
,
right:
screenSize
.
width
*
0.10
,
...
...
lib/screen/home/home4.dart
View file @
5347ae80
...
...
@@ -66,9 +66,11 @@ class Home4 extends StatelessWidget {
height:
100
,
width:
ScreenSize
.
width
*
0.30
,
child:
Text
(
"
MedApps menyediakan Aplikasi Mobile dan juga website yang bisa anda kunjungi
"
,
"
Now this application is available on your smartphone, Download now !
"
,
style:
TextStyle
(
fontSize:
18
,
fontSize:
21
,
height:
1.3
,
letterSpacing:
1.3
,
color:
Colors
.
white
),
)
...
...
@@ -95,7 +97,7 @@ class Home4 extends StatelessWidget {
),
),
child:
Text
(
"
LEARN MORE
"
,
"
Download
"
,
style:
TextStyle
(
fontSize:
18
,
letterSpacing:
2
...
...
lib/widget/image_slide.dart
View file @
5347ae80
...
...
@@ -2,9 +2,6 @@ import 'package:flutter/material.dart';
import
'package:carousel_slider/carousel_slider.dart'
;
final
List
<
String
>
imgList
=
[
'images/homepage.png'
,
'images/solution.jpg'
,
'images/contactus1.jpg'
,
'images/solution1.jpg'
,
'images/solution2.jpg'
,
...
...
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