createState abstract method

Creates the mutable state object associated with this component.

The framework calls this method once when creating the component instance. Subclasses must override this method to return a new ComponentState instance.

Implementation

ComponentState createState();