AreaSelection constructor

AreaSelection({
  1. Key? key,
  2. required AreaSelectedCallback onSelect,
  3. int initProvinceIndex = 0,
  4. int initCityIndex = 0,
  5. int initCountyIndex = 0,
  6. bool showCounty = true,
})

Implementation

AreaSelection({
  Key? key,
  /*required*/ required this.onSelect,
  this.initProvinceIndex = 0,
  this.initCityIndex = 0,
  this.initCountyIndex = 0,
  this.showCounty = true,
}) : super(key: key);