onBuild abstract method

Widget onBuild(
  1. BuildContext context
)

Builds the widget content using the provided BuildContext.

Subclasses should override this method to return the widget content based on the current state and any other contextual information.

Implementation

Widget onBuild(BuildContext context);