|
|
@ -1,7 +1,7 @@
|
|
|
|
import 'dart:convert';
|
|
|
|
import 'dart:convert';
|
|
|
|
import 'dart:io';
|
|
|
|
import 'dart:io';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_svg/flutter_svg.dart';import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_svg/flutter_svg.dart';
|
|
|
|
|
|
|
|
import 'package:geolocator/geolocator.dart';
|
|
|
|
import 'package:geolocator/geolocator.dart';
|
|
|
|
import 'package:google_maps_flutter/google_maps_flutter.dart';
|
|
|
|
import 'package:google_maps_flutter/google_maps_flutter.dart';
|
|
|
|
import 'package:watermanagement/models/connected_customers_model.dart';
|
|
|
|
import 'package:watermanagement/models/connected_customers_model.dart';
|
|
|
@ -109,6 +109,7 @@ class _ConectedPendingCustomersState extends State<ConectedPendingCustomers> wit
|
|
|
|
getPendingSuppliersData();
|
|
|
|
getPendingSuppliersData();
|
|
|
|
super.initState();
|
|
|
|
super.initState();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Widget connectedCustomers(){
|
|
|
|
Widget connectedCustomers(){
|
|
|
|
if(connectedCustomersList.length!=0){
|
|
|
|
if(connectedCustomersList.length!=0){
|
|
|
|
|
|
|
|
|
|
|
@ -260,7 +261,6 @@ class _ConectedPendingCustomersState extends State<ConectedPendingCustomers> wit
|
|
|
|
|
|
|
|
|
|
|
|
Widget pendingCustomers(){
|
|
|
|
Widget pendingCustomers(){
|
|
|
|
if(pendingSuppliersList.length!=0){
|
|
|
|
if(pendingSuppliersList.length!=0){
|
|
|
|
|
|
|
|
|
|
|
|
return Column(
|
|
|
|
return Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|