diff --git a/assets/map_style/area_code_full.json b/assets/area_code/area_code_full.json similarity index 100% rename from assets/map_style/area_code_full.json rename to assets/area_code/area_code_full.json diff --git a/lib/login/phone_address_page.dart b/lib/login/phone_address_page.dart index cd7e50ad..b7529de7 100644 --- a/lib/login/phone_address_page.dart +++ b/lib/login/phone_address_page.dart @@ -27,7 +27,7 @@ class _PhoneAddressPage extends State { void areaCode() async { var value = - await rootBundle.loadString('assets/map_style/area_code_full.json'); + await rootBundle.loadString('assets/area_code/area_code_full.json'); areaMap = jsonDecode(value); areaMap.forEach((key, value) { areaList.add(key); diff --git a/pubspec.yaml b/pubspec.yaml index e29f45e9..b6225673 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,6 +111,7 @@ flutter: - assets/image/2x/ - assets/image/3x/ - assets/map_style/ + - asstes/area_code/ - assets/riv/ - assets/svg/ # - assets/fonts/