Commit d1796431 by Ramesh Babu Puvvadi

added weekly report

parent eaeaa7c6
......@@ -25,8 +25,8 @@ class employeeStatus extends State<EmployeeStatus> {
List<String>? storesList;
//final Color _buttonColor1 = const Color.fromARGB(255, 235, 229, 246);
//final Color _buttonColor = const Color.fromARGB(255, 235, 229, 246);
Color color = Colors.black;
Color color1 = Colors.black;
Color color = Colors.black;
Color color1 = Colors.black;
@override
void initState() {
......@@ -191,9 +191,9 @@ class employeeStatus extends State<EmployeeStatus> {
height: 15,
width: 1,
),
Row(
const Row(
mainAxisAlignment: MainAxisAlignment.start,
children: const [
children: [
Text('Employees InStore Status',
textAlign: TextAlign.left,
style: Constants.headerfontStyle),
......
......@@ -151,7 +151,7 @@ class _Home extends State<Home> {
// print('Hitted =====>');
// }
// },
child: Container(
margin: const EdgeInsets.all(12.0),
child: Column(
......@@ -629,6 +629,95 @@ class _Home extends State<Home> {
),
],
),
const SizedBox(
height: 10,
width: 1,
),
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Expanded(
child: Container(
margin: const EdgeInsets.only(
left: 0, top: 0, right: 0, bottom: 0),
width: MediaQuery.of(context).size.width * 0.44,
child: GestureDetector(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => UserRegistration(
message:
selectedDropdownItem.toString())),
);
},
child: Container(
width: MediaQuery.of(context).size.width * 0.44,
height: MediaQuery.of(context).size.width * 0.22,
padding: const EdgeInsets.all(5),
decoration: BoxDecoration(
gradient: const LinearGradient(
begin: Alignment.bottomLeft,
end: Alignment.bottomRight,
colors: [
Color(0xFF6d6027),
//Color(0xFFC2185B),
Color(0xFFd3cbb8),
],
),
borderRadius: BorderRadius.circular(7),
),
child: Row(
children: [
Image.asset(
'assets/images/weekly_report.png',
// width: 145,
// height: 160,
),
],
),
),
),
),
),
const VerticalDivider(width: 10.0),
Expanded(
child: Container(
margin: const EdgeInsets.only(
left: 0, top: 0, right: 0, bottom: 0),
width: MediaQuery.of(context).size.width * 0.44,
child: GestureDetector(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => UserRegistration(
message:
selectedDropdownItem.toString())),
);
},
child: Container(
width: MediaQuery.of(context).size.width * 0.44,
height: MediaQuery.of(context).size.width * 0.22,
padding: const EdgeInsets.all(5),
decoration: BoxDecoration(
gradient: const LinearGradient(
begin: Alignment.bottomLeft,
end: Alignment.bottomRight,
colors: [
// Color(0xFF6a706f),
// //Color(0xFFC2185B),
// Color(0xFF91b3b1),
],
),
borderRadius: BorderRadius.circular(7),
),
),
),
),
),
],
),
],
),
),
......
......@@ -67,16 +67,13 @@ class _IssueVideos extends State<IssueVideos> {
void getData(String name) async {
bool isInternetConnected = await Constants.checkInternetConnectivity();
if (isInternetConnected) {
showDialog(
showDialog(
context: context,
builder: (context) {
return const Center(
return const Center(
child: CircularProgressIndicator(
color: Color.fromARGB(255, 29, 20, 34)
)
);
}
);
color: Color.fromARGB(255, 29, 20, 34)));
});
//Response data;
final respon = await RemoteData().getIssueVideos(name);
Map<String, dynamic> responseMap = jsonDecode(respon);
......
......@@ -103,6 +103,7 @@ flutter:
#- assets/images/green.png
- assets/images/red.png
- assets/images/videos.png
- assets/images/weekly_report.png
fonts:
- family: Poppins
......
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