onPageBuilt method Null safety

  1. @override
Widget onPageBuilt(
  1. Widget page
)

This function will be called right after the GetPage.page function is called and will give you the result of the function. and take the widget that will be showed.

Implementation

@override
Widget onPageBuilt(Widget page) => page;