Skip to content

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

@FabioSFernandes

Description

@FabioSFernandes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions