FaiWebViewListener typedef

FaiWebViewListener = void Function(int type, Map<String, dynamic>? event)

typedef关键字,用来声明一种类型,当一个函数类型分配给一个变量时,保留类型信息 按钮状态监听

Implementation

typedef FaiWebViewListener = void Function(
    int type, Map<String, dynamic>? event);