onWillShow property

  1. @override
Callback? get onWillShow
override

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
set onWillShow (Callback? value)
override

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;