parabeac_core icon indicating copy to clipboard operation
parabeac_core copied to clipboard

Missing parent Frame constraints

Open SushiRoll53 opened this issue 3 years ago • 0 comments

Describe the bug

A custom frame is created with its respective constraints, in this case the only child of the custom frame is an svg. Svg is created correctly but the parent constraints of the container are incorrect. As we can see on the attached screen shot. As we can see on the second screenshot, the frame with & height is set to 24, while on the output container it gets 12 & 7.41 for height & width. Which are the children's constraints.

To Reproduce

Steps to reproduce the behavior:

  1. Using core, transform the Figma file https://www.figma.com/file/EleFMmkgmKJoS0IwwBZ3jc/FYTR-Parabeac-Build-(Copy)?node-id=849%3A3960
  2. Once it is done, look for the component meal_cart_card.g.dart
  3. Scroll down to line 142 & look for DecrementMealQuantityCustom
  4. See error

Impact of the problem

It is an inaccurate output

Environment:

  • OS: macOS

Screenshots

Screen Shot 2022-10-24 at 11 39 03 AM

Screen Shot 2022-10-24 at 11 39 35 AM

SushiRoll53 avatar Oct 24 '22 17:10 SushiRoll53