initState method

  1. @override
void initState()
override

The framework will call this method exactly once. Only when the StateMVC object is first created.

Implementation

@override
void initState() {
  super.initState();

  if (initStateFunc != null) {
    initStateFunc!();
  }
}