onAppear method

Widget onAppear(
  1. VoidCallback? action
)

Adds an action to perform after this view appears.

action The action to perform. If action is nil, the call has no effect.

Implementation

Widget onAppear(VoidCallback? action) =>
    WidgetVisibilityDetector(onAppear: action, child: this);