CityPicker.fromCode constructor

const CityPicker.fromCode({
  1. Key? key,
  2. String? code,
})

Construct the pick by code provided

The picker column index will stop at the code provided if code is not in dataset, all column index will be 0

Implementation

const CityPicker.fromCode({Key? key, this.code})
    : province = null,
      city = null,
      county = null,
      super(key: key);