TabBarOnTap typedef

TabBarOnTap = dynamic Function(PhoenixTabBarState state, int index)

单个tab选中的回调 state:当前组件的State对象,TabBarState index:当前组件的角标

Implementation

typedef TabBarOnTap = Function(PhoenixTabBarState state, int index);