onWillHide property

  1. @override
Callback? onWillHide

Optional callback that fires before the AbstractTransitionComponent is hidden.

Returning false will cancel default behavior, and the AbstractTransitionComponent will remain visible.

Implementation

@override
Callback? get onWillHide =>
    (props[_$key__onWillHide___$TransitionPropsMixin] ?? null) as Callback?;
  1. @override
void onWillHide=(Callback? value)

Optional callback that fires before the AbstractTransitionComponent is hidden.

Returning false will cancel default behavior, and the AbstractTransitionComponent will remain visible.

Implementation

@override
set onWillHide(Callback? value) =>
    props[_$key__onWillHide___$TransitionPropsMixin] = value;