# flutter_city4_package **Repository Path**: jq_flutter/flutter_city4_package ## Basic Information - **Project Name**: flutter_city4_package - **Description**: flutter的一个城市选择 3/4级 - **Primary Language**: Dart - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-16 - **Last Updated**: 2022-05-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_city4_package #### 城市选择器 3/4 级 ```dart # 引入依赖: flutter_city4_package: git: url: https://gitee.com/jq_flutter/flutter_city4_package.git /// 用例 MaterialButton( color: Colors.red, child: Text("选择地址"), onPressed: () { openBottomCitySelect( context: viewService.context, isCity4: true, // true 四级,false 三级 onChang: (v){ print("回调$v"); }, onOK: (v){ print("确定$v"); } ); }, ), ``` ![输入图片说明](https://images.gitee.com/uploads/images/2021/0816/183652_e227e1d1_4771133.png "屏幕截图.png")