SpinnerFenceResponse typedef
SpinnerFenceResponse =
dynamic Function(List<SpinnerItemData> results, String names, SpinnerEntity data, bool onlyClosed)
完成筛选的回调
Implementation
typedef SpinnerFenceResponse = Function(
/// 选中的集合,如果下级为全选中,则只返回当前数据
///
/// eg:地址选择中,选中北京全部区县,则返回北京。在半选状态下,返回当前选中的区县
List<SpinnerItemData> results,
/// 所有选中名称的集合
String names,
/// 当前通过选择操作的数据
SpinnerEntity data,
/// 判断是否仅关闭弹窗
bool onlyClosed,
);