createRenderElement method
Create element for current widget.
Framework will call this method when it inflates current widget for the
first time at specific position in widget tree. Each RenderElement
inherits number of properties from its parent, therefore framework will
call this method and pass it a reference to parent
element of this
widget.
Implementation
@override
createRenderElement(parent) => CanvasRenderElement(this, parent);