Comments (7)
这个方法, 10.1前我会暴露出来. 现在最没办法的方式. 只能自己去遍历citiesdata. 然后.....
@wang709693972wei
from city_pickers.
坐等发布新版本
from city_pickers.
@wang709693972wei 哈哈好的~~最近业务压力大. 这个功能就搁置了.
from city_pickers.
想问下 您把市和县 的后面两级数据 放在同一个map里面,那样我遍历市的时候 也要对县的数据遍历。遍历的数据会有点多,楼主有没考虑把市和区的数据分开。
from city_pickers.
@wang709693972wei 这个问题考虑过,主要是以下几点
- 方便数据递归, 不需要指定是某级数据, 找到就返回, 方便用户使用
getLocaionInfo(code)
- 数据结构定义抽象, 如果有四级数据, 直接追加. 不需要更改太多的代码.
- 以上都是我现编的. 这个数据结构是参考现有项目, 直接用的, 没过脑子. 不过上边第2条还是有用的.
from city_pickers.
from city_pickers.
升级了版本,试了你暴露的方法 还是取不到信息哦。具体提了新的issues
from city_pickers.
Related Issues (20)
- 有QQ群吗? HOT 3
- 看着挺牛逼, 就是不知道怎么用. 各种红线 HOT 3
- 地区问题:宁夏固原市下边的区展示不出来了
- 可以修改 APPbar 吗? 想在顶部导航栏右侧增加个按钮 HOT 8
- 现在版本都1.0.1了,使用里面还是0.0.1,走了很多弯路 HOT 2
- 怎么讲选中的那个黑色背景设置为透明 HOT 2
- 不支持code码为0开头的数据源 HOT 12
- 重庆城区跑到S下面去了 HOT 1
- 海外国家地区没有吗
- #bug 。 选择省份后,立马快速滑动城市,报错并且卡死。 HOT 10
- #bug。切换省份后立即滑动城市,城市显示还是上一个省份的城市。如图。 HOT 8
- 可以自己添加网络请求吗? HOT 1
- 编译报错 HOT 9
- 希望更新行政区划数据
- Breaks on latest flutter stable due to use of deprecated property.
- Support for flutter 3.10.0? HOT 3
- 带首字母定位的城市选择器,在单击右侧字母时,浮窗显示的字母无法消失 HOT 1
- 使用city_pickers插件在手机android上启动项目报错了,试了很多办法都没解决
- 3.10适配问题 HOT 1
- Build failed with an exception. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from city_pickers.