can’t find function to work with text in CanvasWidget

If you refer to the CanvasWidget addon, it seem to not have support for drawing text. More problematic is that even the gwt incubator widget ( used in the CanvasWidget add-on does not support the text drawing… I would suggest using the
gwt-graphics addon

You could go to this
and make a wish, that the author creates an updated version of CanvasWidget to wrap the Canvas in GWT 2.3 instead of the deprecated one and then implements fillText in CanvasWidget.

It is very bad news…Thanks!