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
6b7a8e61
Commit
6b7a8e61
authored
Aug 30, 2022
by
r.manan@eksad.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contact_us
parent
9366c9d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
35 deletions
+37
-35
contact_us.dart
lib/screen/contact_us/contact_us.dart
+9
-6
contact_us2.dart
lib/screen/contact_us/contact_us2.dart
+28
-29
No files found.
lib/screen/contact_us/contact_us.dart
View file @
6b7a8e61
...
@@ -31,23 +31,27 @@ class _ContactUsState extends State<ContactUs> {
...
@@ -31,23 +31,27 @@ class _ContactUsState extends State<ContactUs> {
appBar:
ResponsiveWidget
.
isSmallScreen
(
context
)
appBar:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
AppBarKecil
()
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
black
,
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
,
Colors
.
blue
),
Colors
.
black
,
Colors
.
black
,
Colors
.
blue
),
body:
ListView
(
body:
ListView
(
children:
[
children:
[
ContactUs1
(),
const
ContactUs1
(),
ContactUs2
(),
ContactUs2
(),
Footer
(),
const
Footer
(),
],
],
),
),
);
);
}
}
AppBar
AppBarKecil
()
{
AppBar
AppBarKecil
()
{
return
AppBar
(
return
AppBar
(
leading:
IconButton
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
const
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,),),
icon:
const
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,
),
),
backgroundColor:
Colors
.
white
,
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
centerTitle:
true
,
title:
SizedBox
(
title:
SizedBox
(
...
@@ -60,4 +64,3 @@ class _ContactUsState extends State<ContactUs> {
...
@@ -60,4 +64,3 @@ class _ContactUsState extends State<ContactUs> {
);
);
}
}
}
}
lib/screen/contact_us/contact_us2.dart
View file @
6b7a8e61
...
@@ -25,20 +25,20 @@ class ContactUs2 extends StatelessWidget {
...
@@ -25,20 +25,20 @@ class ContactUs2 extends StatelessWidget {
// color: Colors.blue,
// color: Colors.blue,
decoration:
const
BoxDecoration
(
decoration:
const
BoxDecoration
(
gradient:
LinearGradient
(
gradient:
LinearGradient
(
colors:
<
Color
>[
colors:
<
Color
>[
Color
(
0xff137fc2
),
Color
(
0xff137fc2
),
Color
(
0xff3958d5
),
Color
(
0xff3958d5
),
Color
(
0xff184b80
),
Color
(
0xff184b80
),
],
],
begin:
Alignment
.
topCenter
,
begin:
Alignment
.
topCenter
,
end:
Alignment
.
bottomCenter
,
end:
Alignment
.
bottomCenter
,
)),
)),
child:
Row
(
child:
Row
(
children:
[
children:
[
const
Spacer
(
const
Spacer
(
flex:
3
,
flex:
3
,
),
),
Container
(
SizedBox
(
height:
screenSize
.
height
*
0.7
,
height:
screenSize
.
height
*
0.7
,
width:
screenSize
.
width
*
0.35
,
width:
screenSize
.
width
*
0.35
,
child:
Container
(
child:
Container
(
...
@@ -47,14 +47,13 @@ class ContactUs2 extends StatelessWidget {
...
@@ -47,14 +47,13 @@ class ContactUs2 extends StatelessWidget {
crossAxisAlignment:
CrossAxisAlignment
.
start
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
children:
[
SizedBox
(
Container
(
height:
screenSize
.
height
*
0.23
,
height:
screenSize
.
height
*
0.23
,
child:
Text
(
child:
Text
(
'Yes, you need '
'Yes, you need '
'
\n
'
'
\n
'
'an outsourcing partner '
'an outsourcing partner '
'you can trust and thrive with'
,
'you can trust and thrive with'
,
textAlign:
TextAlign
.
justify
,
textAlign:
TextAlign
.
justify
,
style:
GoogleFonts
.
poppins
(
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
color:
Colors
.
white
,
...
@@ -64,12 +63,12 @@ class ContactUs2 extends StatelessWidget {
...
@@ -64,12 +63,12 @@ class ContactUs2 extends StatelessWidget {
const
Spacer
(
const
Spacer
(
flex:
1
,
flex:
1
,
),
),
Container
(
SizedBox
(
height:
screenSize
.
height
*
0.3
,
height:
screenSize
.
height
*
0.3
,
child:
Text
(
child:
Text
(
'Go for the one who knows what they are doing, those who you share values with, '
'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. '
'and those who will celebrate your success, and help you win over your biggest challenges. '
'
\n
Looking for an outsourcing partner? '
,
'
\n
Looking for an outsourcing partner? '
,
textAlign:
TextAlign
.
justify
,
textAlign:
TextAlign
.
justify
,
style:
GoogleFonts
.
poppins
(
style:
GoogleFonts
.
poppins
(
color:
Colors
.
white
,
color:
Colors
.
white
,
...
@@ -110,7 +109,7 @@ class ContactUs2 extends StatelessWidget {
...
@@ -110,7 +109,7 @@ class ContactUs2 extends StatelessWidget {
fontSize:
20
,
fontSize:
20
,
fontWeight:
FontWeight
.
w400
),
fontWeight:
FontWeight
.
w400
),
),
),
Container
(
SizedBox
(
width:
450
,
width:
450
,
child:
TextFormField
(
child:
TextFormField
(
controller:
nameController
,
controller:
nameController
,
...
@@ -155,7 +154,7 @@ class ContactUs2 extends StatelessWidget {
...
@@ -155,7 +154,7 @@ class ContactUs2 extends StatelessWidget {
),
),
Row
(
Row
(
children:
[
children:
[
Container
(
SizedBox
(
width:
220
,
width:
220
,
child:
TextFormField
(
child:
TextFormField
(
controller:
phoneController
,
controller:
phoneController
,
...
@@ -166,12 +165,12 @@ class ContactUs2 extends StatelessWidget {
...
@@ -166,12 +165,12 @@ class ContactUs2 extends StatelessWidget {
enabledBorder:
OutlineInputBorder
(
enabledBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderRadius:
BorderRadius
.
zero
,
borderSide:
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
white
),
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
focusedBorder:
OutlineInputBorder
(
focusedBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderRadius:
BorderRadius
.
zero
,
borderSide:
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
white
),
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
),
),
),
),
...
@@ -179,7 +178,7 @@ class ContactUs2 extends StatelessWidget {
...
@@ -179,7 +178,7 @@ class ContactUs2 extends StatelessWidget {
const
SizedBox
(
const
SizedBox
(
width:
7
,
width:
7
,
),
),
Container
(
SizedBox
(
width:
220
,
width:
220
,
child:
TextFormField
(
child:
TextFormField
(
controller:
emailController
,
controller:
emailController
,
...
@@ -190,12 +189,12 @@ class ContactUs2 extends StatelessWidget {
...
@@ -190,12 +189,12 @@ class ContactUs2 extends StatelessWidget {
enabledBorder:
OutlineInputBorder
(
enabledBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderRadius:
BorderRadius
.
zero
,
borderSide:
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
white
),
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
focusedBorder:
OutlineInputBorder
(
focusedBorder:
OutlineInputBorder
(
borderRadius:
BorderRadius
.
zero
,
borderRadius:
BorderRadius
.
zero
,
borderSide:
borderSide:
BorderSide
(
width:
1
,
color:
Colors
.
white
),
BorderSide
(
width:
1
,
color:
Colors
.
white
),
),
),
),
),
),
),
...
@@ -215,7 +214,7 @@ class ContactUs2 extends StatelessWidget {
...
@@ -215,7 +214,7 @@ class ContactUs2 extends StatelessWidget {
fontSize:
20
,
fontSize:
20
,
fontWeight:
FontWeight
.
w400
),
fontWeight:
FontWeight
.
w400
),
),
),
Container
(
SizedBox
(
width:
450
,
width:
450
,
height:
107
,
height:
107
,
child:
TextFormField
(
child:
TextFormField
(
...
@@ -260,11 +259,11 @@ class ContactUs2 extends StatelessWidget {
...
@@ -260,11 +259,11 @@ class ContactUs2 extends StatelessWidget {
ScaffoldMessenger
.
of
(
context
).
showSnackBar
(
ScaffoldMessenger
.
of
(
context
).
showSnackBar
(
response
==
200
response
==
200
?
const
SnackBar
(
?
const
SnackBar
(
content:
Text
(
'Message Sent!'
),
content:
Text
(
'Message Sent!'
),
backgroundColor:
Colors
.
green
)
backgroundColor:
Colors
.
green
)
:
const
SnackBar
(
:
const
SnackBar
(
content:
Text
(
'Failed to send message!'
),
content:
Text
(
'Failed to send message!'
),
backgroundColor:
Colors
.
red
),
backgroundColor:
Colors
.
red
),
);
);
nameController
.
clear
();
nameController
.
clear
();
...
...
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