macro_prototype icon indicating copy to clipboard operation
macro_prototype copied to clipboard

Can't use the `typeDefinitionOf` api for flutter types

Open jakemac53 opened this issue 4 years ago • 0 comments

Because the build runs on the VM, you can't import flutter, so you can't check if things are subtypes of known flutter types.

A possibly solution could be a VM compatible version of flutter, but that seems like a very large hammer to use.

jakemac53 avatar Aug 05 '21 19:08 jakemac53