xd-to-flutter-plugin
xd-to-flutter-plugin copied to clipboard
Interactions (text scroll, prototype links) aren't reliable
Flutter has a number of issues with touch/mouse interactions on widgets that have been positioned with Transform. These issues are detailed here: https://github.com/flutter/flutter/issues/27587
The primary issue is that clicks that fall on the target, but outside the parent's bounds (which only include untransformed child bounds) are not registered by Flutter.
We will continue to look into solutions for this, but as the plugin must support arbitrary transformations, this is a tough issue to solve without it working as expected in Flutter.
Responsive layout (in the upcoming v0.2.0 build) largely fixes this issue, since it does away with completely arbitrary transforms. Static layouts are still affected though.
SO how do I solve this cos when I export from XD to Flutter, that's what is there. Even tried using InkWell() but it didn't work