Commit e18fa4d4 authored by Fikri's avatar Fikri

mengubah footer.dart

parent cf9d37ae
......@@ -63,7 +63,7 @@ class _HomePageState extends State<HomePage> {
const Home3(),
const Home4(),
ContactUs2(),
const Footer(),
Footer(),
],
),
);
......
......@@ -63,7 +63,7 @@ class _AboutUsState extends State<AboutUs> {
const Home3(),
const Home4(),
ContactUs2(),
const Footer(),
Footer(),
],
),
);
......
......@@ -17,7 +17,7 @@ class Footer extends StatelessWidget {
var screenSize = MediaQuery.of(context).size;
return Container(
width: screenSize.width,
height: screenSize.height * 0.78,
height: screenSize.height * 0.8,
color: Colors.white,
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
......@@ -49,7 +49,7 @@ class Footer extends StatelessWidget {
//color: Colors.lightBlueAccent,
image: DecorationImage(
image:
AssetImage('assets/logo/medapp-logo.png'),
AssetImage('assets/logo/medapp-logo.png'),
fit: BoxFit.fill),
),
),
......@@ -63,7 +63,7 @@ class Footer extends StatelessWidget {
//color: Colors.lightBlueAccent,
image: DecorationImage(
image:
AssetImage('assets/logo/logo-eksad.png'),
AssetImage('assets/logo/logo-eksad.png'),
fit: BoxFit.fill),
),
),
......@@ -95,18 +95,15 @@ class Footer extends StatelessWidget {
//color: Colors.blue,
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: () {
......@@ -161,6 +158,7 @@ class Footer extends StatelessWidget {
);
},
),
),
const Spacer(
flex: 8,
......@@ -277,7 +275,7 @@ class Footer extends StatelessWidget {
)),
Container(
width: screenSize.width * 0.25,
height: screenSize.height * 0.55,
height: screenSize.height * 0.6,
//color: Colors.blue,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
......@@ -311,9 +309,9 @@ class Footer extends StatelessWidget {
height: screenSize.height * 0.3,
child: Text(
'PT. Tiga Daya Digital Indonesia \nThe East '
'Tower 19th Floor \nJl. Dr. Ide Anak Agung '
'\nGde Agung Blok E3.2 '
'\nMega Kuningan, \nJakarta Selatan 12950',
'Tower 19th Floor \nJl. Dr. Ide Anak Agung '
'\nGde Agung Blok E3.2 '
'\nMega Kuningan, \nJakarta Selatan 12950',
style: GoogleFonts.poppins(
fontSize: 16,
height: 1.5,
......@@ -336,9 +334,9 @@ class Footer extends StatelessWidget {
height: screenSize.height * 0.13,
child: const Center(
child: Text(
'PT. Tiga Daya Digital Indonesia © 2018, All Rights Reserved.',
style: TextStyle(letterSpacing: 1.3, height: 1.4, fontSize: 17),
)),
'PT. Tiga Daya Digital Indonesia © 2018, All Rights Reserved.',
style: TextStyle(letterSpacing: 1.3, height: 1.4, fontSize: 17),
)),
)
],
));
......@@ -437,7 +435,7 @@ class _EmailAPIState extends State<EmailAPI> {
return const CircularProgressIndicator();
}
return Container(
width: screenSize.width * 0.2,
width: screenSize.width * 0.25,
child: ListTile(
leading: const Icon(
Icons.mail,
......@@ -445,17 +443,16 @@ 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 Medapp');
},
// child: SettingAPI(),
child: Text(
pgm['email'],
style: GoogleFonts.poppins(
fontSize: 16, color: Colors.black87, letterSpacing: 1.1),
)),
),
);
},
......
......@@ -63,7 +63,7 @@ class _HomePageUserState extends State<HomePageUser> {
const Home3(),
const Home4(),
ContactUs2(),
const Footer(),
Footer(),
],
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment