I would like to create a web server in a flutter project, as described in the package https://pub.dev/packages/angel_framework (compatible with flutter), but I get some errors about reflection/mirrors (that doesn't exist in flutter) :
E/flutter ( 6105): [ERROR:flutter/shell/common/shell.cc(213)] Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime
E/flutter ( 6105): [ERROR:flutter/shell/common/engine.cc(200)] Could not prepare to run the isolate.
E/flutter ( 6105): [ERROR:flutter/shell/common/engine.cc(139)] Engine not prepare and launch isolate.
E/flutter ( 6105): [ERROR:flutter/shell/common/shell.cc(485)] Could not launch engine with configuration.
I tried with the exact same code as the example in an empty project.
Hi,
I would like to create a web server in a flutter project, as described in the package https://pub.dev/packages/angel_framework (compatible with flutter), but I get some errors about reflection/mirrors (that doesn't exist in flutter) :
I tried with the exact same code as the example in an empty project.
Maybe another reflector ?
var app = Angel(reflector: MirrorsReflector());
I don't need reflection in my project.
Thanks a lot.