Widget wiSchoolFooterWidget() {
return Container(
color: Colors.black,
padding: const EdgeInsets.symmetric(vertical: 16.0, horizontal: 24.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
_buildLinkList(),
_buildSocialMediaIcons(),
],
),
const SizedBox(height: 16.0),
_buildSubscribeSection(),
],
),
);
}
Widget _buildLinkList() {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('Home', style: TextStyle(color: Colors.white)),
Text('Services', style: TextStyle(color: Colors.white)),
Text('SME', style: TextStyle(color: Colors.white)),
Text('Training', style: TextStyle(color: Colors.white)),
Text('Solution', style: TextStyle(color: Colors.white)),
Text('Reviews', style: TextStyle(color: Colors.white)),
Text('Contact Us', style: TextStyle(color: Colors.white)),
Text('Job Opening', style: TextStyle(color: Colors.white)),
Text('News', style: TextStyle(color: Colors.white)),
Text('Research', style: TextStyle(color: Colors.white)),
Text('About Us', style: TextStyle(color: Colors.white)),
Text('Terms of Use', style: TextStyle(color: Colors.white)),
],
);
}
Widget _buildSocialMediaIcons() {
return Row(
children: [
Icon(Icons.facebook, color: Colors.white),
Icon(Icons.twitter, color: Colors.white),
Icon(Icons.instagram, color: Colors.white),
Icon(Icons.linkedin, color: Colors.white),
],
);
}
Widget _buildSubscribeSection() {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Subscribe to get latest updates',
style: TextStyle(color: Colors.white),
),
const SizedBox(height: 8.0),
TextFormField(
decoration: InputDecoration(
hintText: 'Your Email address',
fillColor: Colors.white,
filled: true,
),
),
const SizedBox(height: 8.0),
ElevatedButton(
onPressed: () {
// Handle subscription button click
},
child: Text('Subscribe'),
),
],
);
}
}