MCPcopy Create free account
hub / github.com/bernaferrari/FigmaToCode / flutterText

Function flutterText

packages/backend/src/flutter/flutterMain.ts:164–169  ·  view source on GitHub ↗
(node: TextNode)

Source from the content-addressed store, hash-verified

162};
163
164const flutterText = (node: TextNode): string => {
165 const builder = new FlutterTextBuilder().createText(node);
166 previousExecutionCache.push(builder.child);
167
168 return builder.blendAttr(node).textAutoSize(node).position(node).child;
169};
170
171const flutterFrame = (
172 node: SceneNode & BaseFrameMixin & MinimalBlendMixin,

Callers 1

flutterWidgetGeneratorFunction · 0.85

Calls 4

createTextMethod · 0.45
positionMethod · 0.45
textAutoSizeMethod · 0.45
blendAttrMethod · 0.45

Tested by

no test coverage detected