CancelFunc typedef

CancelFunc = void Function()

Toast的关闭函数,调用将会提前关闭对应的Toast

Implementation

typedef CancelFunc = void Function();