Parabeac/parabeac_core

Components from another file not getting correctly interpreted

Opened this issue · 0 comments

Describe the bug

When pasting an instance of a component that is part of another file, often times the component will not be correctly created inside the generated Flutter project.

To Reproduce

Steps to reproduce the behavior:
To replicate this bug, you will need 2 Figma Files (referred to as File A and File B).

  1. Create a component in File A.
  2. Copy the component and paste it inside a frame of File B.
  3. Generate File B using parabeac_core.
  4. When looking at the frame of File B where the instance was pasted, you should see that the component is not created and there is a Dart error that the instance cannot be found.

Impact of the problem

The generated Flutter project cannot be run.

Environment:

  • Branch: dev
  • Version: v2.4.0