MCPcopy Index your code
hub / github.com/bernaferrari/FigmaToCode / flutterGroup

Function flutterGroup

packages/backend/src/flutter/flutterMain.ts:135–143  ·  view source on GitHub ↗
(node: GroupNode)

Source from the content-addressed store, hash-verified

133};
134
135const flutterGroup = (node: GroupNode): string => {
136 const widget = flutterWidgetGenerator(node.children);
137 return flutterContainer(
138 node,
139 generateWidgetCode("Stack", {
140 children: widget ? [widget] : [],
141 }),
142 );
143};
144
145const flutterContainer = (node: SceneNode, child: string): string => {
146 let propChild = "";

Callers 1

flutterWidgetGeneratorFunction · 0.85

Calls 3

generateWidgetCodeFunction · 0.90
flutterWidgetGeneratorFunction · 0.85
flutterContainerFunction · 0.70

Tested by

no test coverage detected