AddressEdit constructor

AddressEdit({
  1. Key? key,
  2. String areaColumnsPlaceholder = "选择省 / 市 / 区",
  3. bool showPostal = true,
  4. bool showDelete = false,
  5. bool showSetDefault = false,
  6. String saveButtonText = "保存",
  7. String deleteButtonText = "删除",
  8. int detailRows = 1,
  9. int detailMaxlength = 200,
  10. Map<String, dynamic>? addressInfo,
  11. List<Widget>? children,
  12. dynamic onSave(
    1. Map map
    )?,
  13. dynamic onDelete(
    1. Map map
    )?,
  14. dynamic onCancelDelete(
    1. Map map
    )?,
})

Implementation

AddressEdit(
    {Key? key,
    this.areaColumnsPlaceholder: "选择省 / 市 / 区",
    this.showPostal: true,
    this.showDelete: false,
    this.showSetDefault: false,
    this.saveButtonText: "保存",
    this.deleteButtonText: "删除",
    this.detailRows: 1,
    this.detailMaxlength: 200,
    this.addressInfo,
    this.children,
    this.onSave,
    this.onDelete,
    this.onCancelDelete})
    : super(key: key);