onInit method

Future<void> onInit()

onInitialize This method will be called when this page is initialized. called at State.initState

Implementation

Future<void> onInit() async {
  mounted = true;
}