BaseAreaPickerSingleton<TCityModel extends BaseCityModel<TCityModel>, TLocation extends BaseLocationModel> class
abstract
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAreaPickerSelectedIndexs(List<TCityModel> value, {required String provinceId, required String cityId, required String districtId})
→ AreaPickerSelectedIndexsModel
-
-
getCityModels()
→ Future<List<TCityModel>>
-
获取提供给选择器的城市资源
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
showAreaPickerToLocation({required BuildContext context, double? height, bool showAllCityType = false, bool showAllAreaType = false, bool needLocationIfNull = true, bool isFullAccuracy = false, bool showLocationPermissionDialog = true, AreaPickerSelectedIndexsModel? selectedIndexModel, TLocation? locationModel, required void onConfirmHandle(AreaPickerAddressModel areaPickerAddressModel)})
→ dynamic
-
-
startLocation({bool isFullAccuracy = false, bool showLocationPermissionDialog = true, required void completeBack(TLocation? model)})
→ void
-
启动定位
-
toString()
→ String
-
A string representation of this object.
inherited