buildTextCanvas method

Widget buildTextCanvas()

Implementation

Widget buildTextCanvas() {
  return StatefulBuilder(builder: (tCtx, setter) {
    textSetter = setter;
    return Stack(
      alignment: Alignment.center,
      children: textModels
          .map<Widget>((e) => Positioned(
        child: _wrapWithGesture(
            FloatTextWidget(
              textModel: e,
            ),
            e),
        left: e.left,
        top: e.top,
      ))
          .toList(),
    );
  });
}