2023-02-01 08:03:05 +00:00
|
|
|
import 'package:expandable_group/expandable_group_widget.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:fluttericon/brandico_icons.dart';
|
|
|
|
import 'package:fluttericon/elusive_icons.dart';
|
|
|
|
import 'package:fluttericon/entypo_icons.dart';
|
|
|
|
import 'package:fluttericon/font_awesome5_icons.dart';
|
|
|
|
import 'package:fluttericon/modern_pictograms_icons.dart';
|
|
|
|
import 'package:unit2/screens/profile/components/main_menu.dart';
|
|
|
|
import 'package:unit2/screens/profile/components/submenu.dart';
|
2023-02-07 06:17:49 +00:00
|
|
|
import 'package:unit2/utils/global.dart';
|
2023-03-16 07:53:42 +00:00
|
|
|
import 'package:flutter_spinkit/flutter_spinkit.dart';
|
2023-02-01 08:03:05 +00:00
|
|
|
import '../../../theme-data.dart/colors.dart';
|
|
|
|
|
|
|
|
class LoadingScreen extends StatelessWidget {
|
|
|
|
const LoadingScreen({super.key});
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2023-02-07 06:17:49 +00:00
|
|
|
return Stack(
|
|
|
|
children: [
|
2023-03-16 07:53:42 +00:00
|
|
|
|
|
|
|
Container(
|
|
|
|
padding: const EdgeInsets.symmetric(vertical: 12, horizontal: 12),
|
|
|
|
child: ListView(
|
|
|
|
children: [
|
|
|
|
const Text(
|
|
|
|
"View and Update your Profile Information",
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
),
|
|
|
|
ExpandableGroup(
|
|
|
|
collapsedIcon: const Icon(Icons.keyboard_arrow_down),
|
|
|
|
expandedIcon: const Icon(Icons.keyboard_arrow_up),
|
|
|
|
header: const ListTile(
|
|
|
|
leading: Icon(
|
|
|
|
Elusive.address_book,
|
|
|
|
color: primary,
|
|
|
|
),
|
|
|
|
title: Text(
|
|
|
|
"Basic Information",
|
|
|
|
style: TextStyle(fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
items: [
|
|
|
|
subMenu(Icons.person, "Primary", () {}),
|
|
|
|
subMenu(Icons.home, "Home Addresses", () {}),
|
|
|
|
subMenu(Icons.contact_mail, "Identifications", () {}),
|
|
|
|
subMenu(Icons.contact_phone, "Contact Info", () {}),
|
|
|
|
subMenu(Icons.flag, "Citizenships", () {}),
|
|
|
|
]),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: Elusive.group,
|
|
|
|
title: "Family",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: FontAwesome5.graduation_cap,
|
|
|
|
title: "Education",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: Icons.stars,
|
|
|
|
title: "Eligibility",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: FontAwesome5.shopping_bag,
|
|
|
|
title: "Work History",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: FontAwesome5.walking,
|
|
|
|
title: "Voluntary Work & Civic Services",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: Elusive.lightbulb,
|
|
|
|
title: "Learning & Development",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
const Divider(),
|
|
|
|
MainMenu(
|
|
|
|
icon: Brandico.codepen,
|
|
|
|
title: "Personal References",
|
|
|
|
onTap: () {},
|
|
|
|
),
|
|
|
|
ExpandableGroup(
|
|
|
|
collapsedIcon: const Icon(Icons.keyboard_arrow_down),
|
|
|
|
expandedIcon: const Icon(Icons.keyboard_arrow_up),
|
|
|
|
header: const ListTile(
|
|
|
|
leading: Icon(
|
|
|
|
Icons.info,
|
|
|
|
color: primary,
|
|
|
|
),
|
|
|
|
title: Text(
|
|
|
|
"Other Information",
|
|
|
|
style: TextStyle(fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
items: [
|
|
|
|
subMenu(Icons.fitness_center, "Skills & Hobbies", () {}),
|
|
|
|
subMenu(FontAwesome5.certificate,
|
|
|
|
"Organization Memberships", () {}),
|
|
|
|
subMenu(
|
|
|
|
Entypo.doc_text, "Non-Academic Recognitions", () {}),
|
|
|
|
]),
|
|
|
|
ExpandableGroup(
|
|
|
|
collapsedIcon: const Icon(Icons.keyboard_arrow_down),
|
|
|
|
expandedIcon: const Icon(Icons.keyboard_arrow_up),
|
|
|
|
header: const ListTile(
|
|
|
|
leading: Icon(
|
|
|
|
FontAwesome5.laptop_house,
|
|
|
|
color: primary,
|
|
|
|
),
|
|
|
|
title: Text(
|
|
|
|
"Assets",
|
|
|
|
style: TextStyle(fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
items: [
|
|
|
|
subMenu(ModernPictograms.home, "Real Property Tax", () {}),
|
|
|
|
]),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
2023-02-07 06:17:49 +00:00
|
|
|
Container(
|
|
|
|
width: screenWidth,
|
|
|
|
height: screenHeight,
|
|
|
|
color: Colors.white70,
|
|
|
|
),
|
2023-03-16 07:53:42 +00:00
|
|
|
Center(
|
|
|
|
child: Container(
|
2023-03-21 01:37:55 +00:00
|
|
|
height: 120,
|
|
|
|
width: 120,
|
2023-03-16 07:53:42 +00:00
|
|
|
decoration:const BoxDecoration(
|
|
|
|
color: Colors.black87,
|
|
|
|
borderRadius: BorderRadius.all(Radius.circular(25))
|
|
|
|
),
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: const[
|
|
|
|
SpinKitFadingCircle(
|
|
|
|
|
|
|
|
color: Colors.white),
|
|
|
|
SizedBox(height: 10,),
|
2023-03-21 01:37:55 +00:00
|
|
|
Text("Loading Profile",textAlign: TextAlign.center, style: TextStyle(color: Colors.white,fontSize: 10),)
|
2023-03-16 07:53:42 +00:00
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
2023-02-07 06:17:49 +00:00
|
|
|
],
|
|
|
|
);
|
2023-02-01 08:03:05 +00:00
|
|
|
}
|
2023-03-16 07:53:42 +00:00
|
|
|
}
|