build method Null safety

  1. @protected
Widget build()

Subclasses should override this function to actually call the appropriate build function (e.g., StatelessWidget.build or State.build) for their widget.

Implementation

@protected
Widget build();