AnimationFinishedCallback typedef
AnimationFinishedCallback =
void Function(bool success)
Called when the camera animation finishes.
Returns success true if the animation completed, false
if the animation was canceled.
Implementation
typedef AnimationFinishedCallback = void Function(bool success);