|
@@ -49,6 +49,14 @@ class OrderDetailState extends State<OrderDetail>
|
|
|
double totalPay;
|
|
|
|
|
|
getBrandDetail() {
|
|
|
+ if(_controllerBefore != null){
|
|
|
+ _controllerBefore.pause();
|
|
|
+ _controllerBefore = null;
|
|
|
+ }
|
|
|
+ if(_controllerAfter != null){
|
|
|
+ _controllerAfter.pause();
|
|
|
+ _controllerAfter = null;
|
|
|
+ }
|
|
|
NewApiService().getLiftcaseDetail(widget.id, onSuccess: (res) {
|
|
|
detailObj = res;
|
|
|
double serviceCost = detailObj.serviceCost!=null?detailObj.serviceCost:0.0;
|