|
|
@ -123,6 +123,7 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
@ -132,17 +133,20 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// Change button text when light changes state.
|
|
|
|
// Change button text when light changes state.
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
padding: EdgeInsets.fromLTRB(35, 10,0,0),
|
|
|
|
//height: 50,
|
|
|
|
child: new SvgPicture.asset("assets/images/tanklevels.svg")
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 15,0,0),
|
|
|
|
|
|
|
|
child: new SvgPicture.asset("assets/images/tankersview.svg")
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
Text('Takers View',style: dashboardTextStyle(),),
|
|
|
|
Text('Takers View',style: dashboardTextStyle(),),
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
|
|
|
|
|
|
|
@ -160,28 +164,30 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
margin: EdgeInsets.only(left:0, top:10, right: 15, bottom:0),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
// height: MediaQuery.of(context).size.height * .16,
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
|
// width: MediaQuery.of(context).size.width * .40,
|
|
|
|
//width: MediaQuery.of(context).size.width * .45,
|
|
|
|
//color: Colors.white,
|
|
|
|
|
|
|
|
//margin: const EdgeInsets.all(15.0),
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// Change button text when light changes state.
|
|
|
|
// Change button text when light changes state.
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
|
|
|
|
//height: 50,
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 10,0,0),
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 15,0,0),
|
|
|
|
child: new SvgPicture.asset("assets/images/watertanker.svg")
|
|
|
|
child: new SvgPicture.asset("assets/images/deliveryboyview.svg")
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text('Deliveryboys View',style: dashboardTextStyle(),)
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
|
|
|
|
Text('Deliveryboys View',style: dashboardTextStyle(),),
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -199,6 +205,7 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
@ -208,17 +215,20 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// Change button text when light changes state.
|
|
|
|
// Change button text when light changes state.
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
padding: EdgeInsets.fromLTRB(35, 10,0,0),
|
|
|
|
//height: 50,
|
|
|
|
child: new SvgPicture.asset("assets/images/resources.svg")
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 15,0,0),
|
|
|
|
|
|
|
|
child: new SvgPicture.asset("assets/images/customers.svg")
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
Text('Customers',style: dashboardTextStyle(),),
|
|
|
|
Text('Customers',style: dashboardTextStyle(),),
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
)),
|
|
|
|
|
|
|
|
|
|
|
@ -236,28 +246,30 @@ class _DashboardState extends State<Dashboard> {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
child: Container(
|
|
|
|
|
|
|
|
height: 100,
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
padding: EdgeInsets.all(05),
|
|
|
|
margin: EdgeInsets.only(left:0, top:10, right: 15, bottom:0),
|
|
|
|
margin: EdgeInsets.only(left:15, top:10, right: 0, bottom:0),
|
|
|
|
// height: MediaQuery.of(context).size.height * .16,
|
|
|
|
//height: MediaQuery.of(context).size.height * .05,
|
|
|
|
// width: MediaQuery.of(context).size.width * .40,
|
|
|
|
//width: MediaQuery.of(context).size.width * .45,
|
|
|
|
//color: Colors.white,
|
|
|
|
|
|
|
|
//margin: const EdgeInsets.all(15.0),
|
|
|
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
// Change button text when light changes state.
|
|
|
|
// Change button text when light changes state.
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
|
|
|
|
//height: 50,
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 10,0,0),
|
|
|
|
padding: EdgeInsets.fromLTRB(0, 15,0,0),
|
|
|
|
child: new SvgPicture.asset("assets/images/consumption.svg")
|
|
|
|
child: new SvgPicture.asset("assets/images/booking_request.svg")
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text('Booking Requests',style: dashboardTextStyle(),)
|
|
|
|
SizedBox(height: 5,),
|
|
|
|
|
|
|
|
Text('Booking Requests',style: dashboardTextStyle(),),
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
)
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|