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
9366c9d8
Commit
9366c9d8
authored
Aug 30, 2022
by
r.manan@eksad.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contact_us
parent
be216ec9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
366 additions
and
9 deletions
+366
-9
contact_us.dart
lib/screen/contact_us/contact_us.dart
+8
-8
contact_us2.dart
lib/screen/contact_us/contact_us2.dart
+317
-0
button_color.dart
lib/widget/button_color.dart
+39
-0
pubspec.lock
pubspec.lock
+1
-1
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
lib/screen/contact_us/contact_us.dart
View file @
9366c9d8
import
'package:flutter/material.dart'
;
import
'package:medapp_eksad/appbar/appbar_home.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us1.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us2.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:flutter/services.dart'
;
...
...
@@ -20,7 +21,7 @@ class ContactUs extends StatefulWidget {
}
class
_ContactUsState
extends
State
<
ContactUs
>
{
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
new
GlobalKey
<
ScaffoldState
>();
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
setPageTitle
(
'Contact Us'
,
context
);
...
...
@@ -34,6 +35,7 @@ class _ContactUsState extends State<ContactUs> {
body:
ListView
(
children:
[
ContactUs1
(),
ContactUs2
(),
Footer
(),
],
),
...
...
@@ -45,15 +47,13 @@ class _ContactUsState extends State<ContactUs> {
return
AppBar
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,),),
icon:
const
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,),),
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
title:
Container
(
child:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
title:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
// ),
...
...
lib/screen/contact_us/contact_us2.dart
View file @
9366c9d8
This diff is collapsed.
Click to expand it.
lib/widget/button_color.dart
0 → 100644
View file @
9366c9d8
import
'package:flutter/material.dart'
;
ButtonStyle
DefaultColors
(
)
{
return
ButtonStyle
(
backgroundColor:
MaterialStateProperty
.
resolveWith
<
Color
?>(
(
Set
<
MaterialState
>
states
)
{
return
const
Color
(
0xff1e5ea8
);
// Defer to the widget's default.
},
),
overlayColor:
MaterialStateProperty
.
resolveWith
<
Color
?>(
(
Set
<
MaterialState
>
states
)
{
if
(
states
.
contains
(
MaterialState
.
hovered
))
{
return
Colors
.
red
;
}
//<-- SEE HERE
return
null
;
// Defer to the widget's default.
},
),
);
}
ButtonStyle
Btn_Submit
(
)
{
return
ButtonStyle
(
shape:
MaterialStateProperty
.
resolveWith
((
ShapeBorder
)
=>
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
8
))),
backgroundColor:
MaterialStateProperty
.
resolveWith
<
Color
?>(
(
Set
<
MaterialState
>
states
)
{
return
const
Color
(
0xff1e5ea8
);
// Defer to the widget's default.
},
),
overlayColor:
MaterialStateProperty
.
resolveWith
<
Color
?>(
(
Set
<
MaterialState
>
states
)
{
if
(
states
.
contains
(
MaterialState
.
hovered
))
{
return
Colors
.
red
;
}
//<-- SEE HERE
return
null
;
// Defer to the widget's default.
},
),
);
}
pubspec.lock
View file @
9366c9d8
...
...
@@ -122,7 +122,7 @@ packages:
source: hosted
version: "3.0.1"
http:
dependency:
transitive
dependency:
"direct main"
description:
name: http
url: "https://pub.dartlang.org"
...
...
pubspec.yaml
View file @
9366c9d8
...
...
@@ -44,6 +44,7 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons
:
^1.0.2
show_up_animation
:
^2.0.0
http
:
^0.13.4
dev_dependencies
:
flutter_test
:
...
...
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