AddressList constructor

AddressList({
  1. Key? key,
  2. int? id,
  3. List<AddressInfo>? list,
  4. List<AddressInfo>? disabledList,
  5. String disabledText = "以下地址超出配送范围",
  6. bool switchable = true,
  7. String addButtonText = "新增地址",
  8. String defaultTagText = "默认",
  9. dynamic onAdd()?,
  10. dynamic onEdit(
    1. AddressInfo info,
    2. int i
    )?,
  11. dynamic onSelect(
    1. AddressInfo info,
    2. int i
    )?,
  12. Widget? top,
  13. Widget? children,
})

Implementation

AddressList(
    {Key? key,
    this.id,
    this.list,
    this.disabledList,
    this.disabledText: "以下地址超出配送范围",
    this.switchable: true,
    this.addButtonText: "新增地址",
    this.defaultTagText: "默认",
    this.onAdd,
    this.onEdit,
    this.onSelect,
    this.top,
    this.children})
    : super(key: key);