createState method

  1. @override
BasicShapeState<Square> createState()
override

createState() is a function that returns a new instance of the _SquareState class

Implementation

@override
BasicShapeState<Square> createState() => _SquareState();