setPageState method

void setPageState(
  1. int pageState
)

更新页面的层级状态

Implementation

void setPageState(int pageState) {
  setState(() {
    _pageState = pageState;
  });
}