Commit 0ec0a13f authored by Fikri's avatar Fikri

edit footer

parent d3b4e2f5
......@@ -95,15 +95,18 @@ 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: () {
......@@ -158,7 +161,6 @@ class Footer extends StatelessWidget {
);
},
),
),
const Spacer(
flex: 8,
......@@ -452,7 +454,8 @@ class _EmailAPIState extends State<EmailAPI> {
pgm['email'],
style: GoogleFonts.poppins(
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