getReactiveView method

Widget getReactiveView(
  1. Widget view
)

Implementation

Widget getReactiveView(Widget view)
{
  // wrap in visibility detector?
  if (needsVisibilityDetector) view = VisibilityDetector(key: ObjectKey(this), onVisibilityChanged: onVisibilityChanged, child: view);

  // wrap in tooltip?
  if (tipModel != null) view = TooltipView(tipModel!, view);

  // wrap animations.
  if (animations != null)
  {
    var animations = this.animations!.reversed;
    for (var model in animations) {
      view = model.getAnimatedView(view);
    }
  }
  return view;
}