initState method

  1. @mustCallSuper
void initState()

What to do on state initialization.

For example, add listeners to state if it's a ChangeNotifier.

Implementation

@mustCallSuper
void initState() {
  _isCurrent = true;
}