onWillShow property

  1. @override
Callback? onWillShow

Optional callback that fires before the AbstractTransitionComponent appears.

Returning false will cancel default behavior, and the AbstractTransitionComponent will not appear.

Implementation

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

Optional callback that fires before the AbstractTransitionComponent appears.

Returning false will cancel default behavior, and the AbstractTransitionComponent will not appear.

Implementation

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