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
69e1699e
Commit
69e1699e
authored
Sep 30, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/qorridi/medapp_eksad
parents
9d8c7357
747fc7cd
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
164 additions
and
212 deletions
+164
-212
login.dart
lib/login.dart
+1
-1
about_us.dart
lib/screen/about_us.dart
+23
-45
contact_us.dart
lib/screen/contact_us/contact_us.dart
+17
-39
contact_us2.dart
lib/screen/contact_us/contact_us2.dart
+22
-30
solution.dart
lib/screen/solution.dart
+20
-42
small_contact_us2.dart
lib/screen_small/small_contact/small_contact_us2.dart
+80
-54
demo_user.dart
lib/screen_user/demo_user.dart
+1
-1
No files found.
lib/login.dart
View file @
69e1699e
...
...
@@ -37,7 +37,7 @@ class _SignInState extends State<SignIn> {
@override
Widget
build
(
BuildContext
context
)
{
//
setPageTitle('Login MedApps', context);
setPageTitle
(
'Login MedApps'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
body:
Stack
(
...
...
lib/screen/about_us.dart
View file @
69e1699e
...
...
@@ -54,7 +54,7 @@ class _AboutUsState extends State<AboutUs> {
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
new
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
//
setPageTitle('About Us', context);
setPageTitle
(
'About Us'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
...
...
@@ -67,14 +67,7 @@ class _AboutUsState extends State<AboutUs> {
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
scrollDirection:
Axis
.
vertical
,
controller:
controller2
,
children:
[
...
...
@@ -86,22 +79,11 @@ class _AboutUsState extends State<AboutUs> {
FooterSmall
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
)
:
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
scrollDirection:
Axis
.
vertical
,
controller:
controller2
,
children:
[
...
...
@@ -113,10 +95,6 @@ class _AboutUsState extends State<AboutUs> {
Footer
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
),
);
...
...
lib/screen/contact_us/contact_us.dart
View file @
69e1699e
...
...
@@ -48,7 +48,7 @@ class _ContactUsState extends State<ContactUs> {
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
//
setPageTitle('Contact Us', context);
setPageTitle
(
'Contact Us'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
...
...
@@ -60,14 +60,7 @@ class _ContactUsState extends State<ContactUs> {
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
scrollDirection:
Axis
.
vertical
,
controller:
controller2
,
children:
[
...
...
@@ -76,22 +69,11 @@ class _ContactUsState extends State<ContactUs> {
FooterSmall
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
)
:
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
scrollDirection:
Axis
.
vertical
,
controller:
controller2
,
children:
[
...
...
@@ -100,10 +82,6 @@ class _ContactUsState extends State<ContactUs> {
Footer
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
),
floatingActionButtonLocation:
FloatingActionButtonLocation
.
endFloat
,
...
...
lib/screen/contact_us/contact_us2.dart
View file @
69e1699e
...
...
@@ -52,45 +52,37 @@ class ContactUs2 extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
SizedBox
(
height:
screenSize
.
height
*
0.23
,
child:
Text
(
'Yes, you need '
'
\n
'
'an outsourcing partner '
'you can trust and thrive with'
,
textAlign:
TextAlign
.
left
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
30
,
fontWeight:
FontWeight
.
bold
)),
),
const
Spacer
(
flex:
1
,
flex:
2
,
),
SizedBox
(
height:
screenSize
.
height
*
0.22
,
child:
Text
(
'Go for the one who knows what they are doing, those who you share values with, '
'and those who will celebrate your success, and help you win over your biggest challenges. '
'
\n
Looking for an outsourcing partner? '
,
textAlign:
TextAlign
.
justify
,
Text
(
"Leave Your Contact Info and Let's Discuss Business"
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
18
,
// fontWeight: FontWeight.bold,
letterSpacing:
1.1
)),
),
fontSize:
30
,
fontWeight:
FontWeight
.
w500
)),
// const Spacer(
// flex: 1,
// ),
// Text("Let's Discuss Business",
// style: GoogleFonts.poppins(
// color: Colors.white,
// fontSize: 35,
//
// fontWeight: FontWeight.w500,
// // fontWeight: FontWeight.bold,
// letterSpacing: 1.1)
// ),
const
Spacer
(
flex:
1
,
),
Text
(
"We’ll contact you immediately to discuss to help you."
,
Text
(
"We’ll contact you immediately to discuss potential business"
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
18
,
letterSpacing:
1.2
)),
fontWeight:
FontWeight
.
w500
)),
const
Spacer
(
flex:
2
,
flex:
3
,
),
],
),
...
...
lib/screen/solution.dart
View file @
69e1699e
...
...
@@ -42,7 +42,7 @@ class _SolutionsState extends State<Solutions> {
@override
Widget
build
(
BuildContext
context
)
{
// setPageTitle('MeddApp
Solutions', context);
setPageTitle
(
'Our
Solutions'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
...
...
@@ -55,14 +55,7 @@ class _SolutionsState extends State<Solutions> {
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
scrollDirection:
Axis
.
vertical
,
controller:
controller2
,
children:
[
...
...
@@ -71,22 +64,11 @@ class _SolutionsState extends State<Solutions> {
FooterSmall
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
)
:
Stack
(
children:
[
FutureBuilder
<
dynamic
>(
future:
getSettingDesc2
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
return
Title
(
title:
pgm
[
'title'
],
color:
Colors
.
white
,
child:
ListView
(
ListView
(
controller:
controller2
,
children:
[
OurSolution
(
...
...
@@ -98,10 +80,6 @@ class _SolutionsState extends State<Solutions> {
Footer
(),
],
),
);
},
),
ScrollUpButton
(
controller2
),
],
),
);
...
...
lib/screen_small/small_contact/small_contact_us2.dart
View file @
69e1699e
...
...
@@ -7,7 +7,6 @@ import 'package:http/http.dart' as http;
import
'package:medapp_eksad/api/contact_api.dart'
;
import
'package:medapp_eksad/widget/button_color.dart'
;
class
ContactUs2_small
extends
StatefulWidget
{
const
ContactUs2_small
({
Key
?
key
})
:
super
(
key:
key
);
...
...
@@ -23,6 +22,9 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
final
emailController
=
TextEditingController
();
final
messageController
=
TextEditingController
();
String
pattern
=
r'(\+62|62|0)(\d{2,3})?\)?[ .-]?\d{2,4}[ .-]?\d{2,4}[ .-]?\d{2,4}'
;
@override
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
...
...
@@ -47,36 +49,41 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
Center
(
child:
Text
(
'Yes, you need '
'
\n
'
'an outsourcing partner '
'you can trust and thrive with'
,
textAlign:
TextAlign
.
left
,
const
Spacer
(
flex:
2
,
),
Text
(
"Leave Your Contact Info and Let's Discuss Business"
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
30
,
fontWeight:
FontWeight
.
bold
)),
fontWeight:
FontWeight
.
w500
)),
// const Spacer(
// flex: 1,
// ),
// Text("Let's Discuss Business",
// style: GoogleFonts.poppins(
// color: Colors.white,
// fontSize: 35,
//
// fontWeight: FontWeight.w500,
// // fontWeight: FontWeight.bold,
// letterSpacing: 1.1)
// ),
const
Spacer
(
flex:
1
,
),
Center
(
child:
Text
(
'Go for the one who knows what they are doing, those who you share values with, '
'and those who will celebrate your success, and help you win over your biggest challenges. '
'Looking for an outsourcing partner? '
,
textAlign:
TextAlign
.
justify
,
Text
(
"We’ll contact you immediately to discuss potential business"
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
18
,
// fontWeight: FontWeight.bold,
letterSpacing:
1.1
)),
fontWeight:
FontWeight
.
w500
)),
const
Spacer
(
flex:
3
,
),
Center
(
child:
Text
(
"We’ll contact you immediately to discuss to help you."
,
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
fontSize:
18
,
letterSpacing:
1.2
)),
SizedBox
(
height:
1
,
),
SizedBox
(
height:
5
,),
Center
(
child:
Form
(
key:
_formKey
,
...
...
@@ -112,6 +119,12 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
'Please enter your name'
;
}
return
null
;
},
),
),
const
SizedBox
(
...
...
@@ -148,6 +161,14 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
'Please enter your phone number'
;
}
else
if
(!
RegExp
(
pattern
).
hasMatch
(
value
))
{
return
'Start with 628 or 08'
;
}
return
null
;
},
),
),
const
SizedBox
(
...
...
@@ -184,6 +205,12 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
'Please enter your email'
;
}
return
null
;
},
),
),
const
SizedBox
(
...
...
@@ -218,7 +245,7 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
maxLines:
5
,
validator:
(
value
)
{
if
(
value
==
null
||
value
.
isEmpty
)
{
return
'
*Required
'
;
return
'
Please enter your message
'
;
}
return
null
;
},
...
...
@@ -262,7 +289,8 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
},
child:
const
Text
(
'Submit'
,
style:
TextStyle
(
fontSize:
16
,
color:
Colors
.
white
),
style:
TextStyle
(
fontSize:
16
,
color:
Colors
.
white
),
),
),
),
...
...
@@ -298,5 +326,3 @@ class _ContactUs2_smallState extends State<ContactUs2_small> {
return
response
.
statusCode
;
}
}
lib/screen_user/demo_user.dart
View file @
69e1699e
...
...
@@ -28,7 +28,7 @@ class _DemoUserState extends State<DemoUser> {
@override
Widget
build
(
BuildContext
context
)
{
// setPageTitle('Free Demo Medapp
', context);
setPageTitle
(
'Demo
'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
final
user
=
context
.
read
<
FirebaseAuthMethods
>().
user
;
final
String
mail
=
user
.
email
!;
...
...
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