generateCode method

  1. @override
String generateCode(
  1. TreeNode node,
  2. CodeGeneratorFactory factory
)
override

Implementation

@override
String generateCode(TreeNode node, CodeGeneratorFactory factory) {
  var txt = node.getValue('text');
  var txt2 = 'evaluate(r"""$txt""", controller)';
  return 'Text($txt2)';
}