createState method

  1. @mustCallSuper
  2. @override
State<StatefulWidget> createState()
override

createActivity handles the creation of the UI state. NOTE Avoid overriding this function. Overriding this function can have unintended exceptions.

Implementation

@mustCallSuper
@override
State<StatefulWidget> createState() {
  // ignore: no_logic_in_create_state
  return createActivity();
}