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