BehaviorActivatedListener typedef

BehaviorActivatedListener = void Function(dynamic action, dynamic data)

A listener used as the argument for startBehaviorActivatedListener.

Gets the action that has been activated as one of the Behaviors constants, and the data as a map containing detailed information regarding the behavior.

Implementation

typedef void BehaviorActivatedListener(dynamic action, dynamic data);