Commit 0ec0a13f authored by Fikri's avatar Fikri

edit footer

parent d3b4e2f5
...@@ -95,15 +95,18 @@ class Footer extends StatelessWidget { ...@@ -95,15 +95,18 @@ class Footer extends StatelessWidget {
//color: Colors.blue, //color: Colors.blue,
child: FutureBuilder<List<dynamic>>( child: FutureBuilder<List<dynamic>>(
future: getSosmedDesc(), future: getSosmedDesc(),
builder: (BuildContext context, AsyncSnapshot snapshot) { builder: (BuildContext context,
AsyncSnapshot snapshot) {
var pgm = snapshot.data[0]; var pgm = snapshot.data[0];
if (snapshot.hasError || if (snapshot.hasError ||
snapshot.data == null || snapshot.data == null ||
snapshot.connectionState == ConnectionState.waiting) { snapshot.connectionState ==
ConnectionState.waiting) {
return const CircularProgressIndicator(); return const CircularProgressIndicator();
} }
return Row( return Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly, mainAxisAlignment:
MainAxisAlignment.spaceEvenly,
children: [ children: [
IconButton( IconButton(
onPressed: () { onPressed: () {
...@@ -158,7 +161,6 @@ class Footer extends StatelessWidget { ...@@ -158,7 +161,6 @@ class Footer extends StatelessWidget {
); );
}, },
), ),
), ),
const Spacer( const Spacer(
flex: 8, flex: 8,
...@@ -452,7 +454,8 @@ class _EmailAPIState extends State<EmailAPI> { ...@@ -452,7 +454,8 @@ class _EmailAPIState extends State<EmailAPI> {
pgm['email'], pgm['email'],
style: GoogleFonts.poppins( style: GoogleFonts.poppins(
fontSize: 16, color: Colors.black87, letterSpacing: 1.1), fontSize: 16, color: Colors.black87, letterSpacing: 1.1),
)), ),
),
), ),
); );
}, },
......
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