Commit d1796431 by Ramesh Babu Puvvadi

added weekly report

parent eaeaa7c6
...@@ -191,9 +191,9 @@ class employeeStatus extends State<EmployeeStatus> { ...@@ -191,9 +191,9 @@ class employeeStatus extends State<EmployeeStatus> {
height: 15, height: 15,
width: 1, width: 1,
), ),
Row( const Row(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: const [ children: [
Text('Employees InStore Status', Text('Employees InStore Status',
textAlign: TextAlign.left, textAlign: TextAlign.left,
style: Constants.headerfontStyle), style: Constants.headerfontStyle),
......
...@@ -629,6 +629,95 @@ class _Home extends State<Home> { ...@@ -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),
),
),
),
),
),
],
),
], ],
), ),
), ),
......
...@@ -72,11 +72,8 @@ class _IssueVideos extends State<IssueVideos> { ...@@ -72,11 +72,8 @@ class _IssueVideos extends State<IssueVideos> {
builder: (context) { builder: (context) {
return const Center( return const Center(
child: CircularProgressIndicator( child: CircularProgressIndicator(
color: Color.fromARGB(255, 29, 20, 34) color: Color.fromARGB(255, 29, 20, 34)));
) });
);
}
);
//Response data; //Response data;
final respon = await RemoteData().getIssueVideos(name); final respon = await RemoteData().getIssueVideos(name);
Map<String, dynamic> responseMap = jsonDecode(respon); Map<String, dynamic> responseMap = jsonDecode(respon);
......
...@@ -103,6 +103,7 @@ flutter: ...@@ -103,6 +103,7 @@ flutter:
#- assets/images/green.png #- assets/images/green.png
- assets/images/red.png - assets/images/red.png
- assets/images/videos.png - assets/images/videos.png
- assets/images/weekly_report.png
fonts: fonts:
- family: Poppins - 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