initState method

void initState()

页面初始化时调用

通常用于添加依赖

Implementation

void initState() {}