AddressList constructor
AddressList({
- Key? key,
- int? id,
- List<
AddressInfo> ? list, - List<
AddressInfo> ? disabledList, - String disabledText = "以下地址超出配送范围",
- bool switchable = true,
- String addButtonText = "新增地址",
- String defaultTagText = "默认",
- dynamic onAdd()?,
- dynamic onEdit(
- AddressInfo info,
- int i
- dynamic onSelect(
- AddressInfo info,
- int i
- Widget? top,
- 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);