switchDisplayingDetail method

void switchDisplayingDetail({
  1. bool? value,
})

Method to switch isDisplayingDetail. 切换显示详情状态的方法

Implementation

void switchDisplayingDetail({bool? value}) {
  isDisplayingDetail.value = value ?? !isDisplayingDetail.value;
}