Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Missing parent Frame constraints #725

Open
SushiRoll53 opened this issue Oct 24, 2022 · 0 comments
Open

Missing parent Frame constraints #725

SushiRoll53 opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@SushiRoll53
Copy link
Collaborator

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 SushiRoll53 added the bug Something isn't working label Oct 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant