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
0ec0a13f
Commit
0ec0a13f
authored
Sep 26, 2022
by
Fikri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit footer
parent
d3b4e2f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
footer.dart
lib/screen/footer.dart
+20
-17
No files found.
lib/screen/footer.dart
View file @
0ec0a13f
...
...
@@ -93,17 +93,20 @@ class Footer extends StatelessWidget {
width:
screenSize
.
width
*
0.14
,
height:
screenSize
.
height
*
0.03
,
//color: Colors.blue,
child:
FutureBuilder
<
List
<
dynamic
>>(
child:
FutureBuilder
<
List
<
dynamic
>>(
future:
getSosmedDesc
(),
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
builder:
(
BuildContext
context
,
AsyncSnapshot
snapshot
)
{
var
pgm
=
snapshot
.
data
[
0
];
if
(
snapshot
.
hasError
||
snapshot
.
data
==
null
||
snapshot
.
connectionState
==
ConnectionState
.
waiting
)
{
snapshot
.
connectionState
==
ConnectionState
.
waiting
)
{
return
const
CircularProgressIndicator
();
}
return
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
IconButton
(
onPressed:
()
{
...
...
@@ -134,7 +137,7 @@ class Footer extends StatelessWidget {
onPressed:
()
{
ig
=
pgm
[
'instagram'
];
launch
(
ig
);
// _launchInstagram();
// _launchInstagram();
},
icon:
const
Icon
(
FontAwesomeIcons
.
instagram
,
...
...
@@ -146,7 +149,7 @@ class Footer extends StatelessWidget {
onPressed:
()
{
yt
=
pgm
[
'youtube'
];
launch
(
yt
);
// _launchYoutube();
// _launchYoutube();
},
icon:
const
Icon
(
FontAwesomeIcons
.
youtube
,
...
...
@@ -158,7 +161,6 @@ class Footer extends StatelessWidget {
);
},
),
),
const
Spacer
(
flex:
8
,
...
...
@@ -443,16 +445,17 @@ class _EmailAPIState extends State<EmailAPI> {
color:
Colors
.
black
,
),
title:
TextButton
(
onPressed:
()
{
email
=
pgm
[
'email'
];
launch
(
'mailto:
$email
?subject=Info MCS'
);
},
// child: SettingAPI(),
child:
Text
(
pgm
[
'email'
],
style:
GoogleFonts
.
poppins
(
fontSize:
16
,
color:
Colors
.
black87
,
letterSpacing:
1.1
),
)),
onPressed:
()
{
email
=
pgm
[
'email'
];
launch
(
'mailto:
$email
?subject=Info MCS'
);
},
// child: SettingAPI(),
child:
Text
(
pgm
[
'email'
],
style:
GoogleFonts
.
poppins
(
fontSize:
16
,
color:
Colors
.
black87
,
letterSpacing:
1.1
),
),
),
),
);
},
...
...
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