deselect method
void
deselect()
取消选中,将索引重置为 null
调用后所有按钮将恢复为未选中状态。 此操作不触发滚动动画。
Implementation
void deselect() {
_index = null;
_indexNotifier.value = null;
}
取消选中,将索引重置为 null
调用后所有按钮将恢复为未选中状态。 此操作不触发滚动动画。
void deselect() {
_index = null;
_indexNotifier.value = null;
}