onViewCreate method
dynamic
onViewCreate()
Upon creation of the View, which is a StatefulWidget, its constructor is called, which initializes View the widget. The createState() method is then invoked, which creates the state object for the widget.
Implementation
onViewCreate() {}