Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"NaN undefined" error while running using Flutter 3.13 #132

Open
FabioSFernandes opened this issue Oct 25, 2023 · 0 comments
Open

"NaN undefined" error while running using Flutter 3.13 #132

FabioSFernandes opened this issue Oct 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@FabioSFernandes
Copy link

FabioSFernandes commented Oct 25, 2023

Bug Description

After exporting the XD project to the flutter, opening the project with visual studio code, start building.

The build proccess does not finish: An error "NaN undefined" blocks the build.

My environment and package versions:
Windows 11 Pro
Flutter 3.13.7 • channel stable
Framework • revision 2f708eb839
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0

To Reproduce

  1. Create a flutter project folder
    init the project with "flutter create ."

  2. export XD project

Sample XD File or Screenshots

image

  1. Change the main.dart file as follows:
    image

  2. Run project, and receives the error:
    Output:
    image

Versions:

  • OS: Win11
  • XD: 57.1.12.2
  • Creative Cloud Sync: 6.6.4.2
  • plugin: XD to Flutter 4.0.0 and Flutter adobe_xd package: 2.0.1
  • Flutter: 3.13.7

Workaround:

This problem seems to be related to page transitions.
The default value for this attribute is 0.35 in my environment, so if I do "replace all" NaN => 0.35 everything starts working fine.

@FabioSFernandes FabioSFernandes added the bug Something isn't working label Oct 25, 2023
@FabioSFernandes FabioSFernandes changed the title "NaN undefined" error while ruinning using Flutter 3.10 "NaN undefined" error while running using Flutter 3.13 Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant