How to use custom classes in compiled .evc with flutter_eval 0.8.0 #114
denitokhtarov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm experimenting with flutter_eval v0.8.0 and trying to compile hot-update code into .evc.
I have a custom class in my project, for example:
class MyColor {
static const Color grey = Colors.grey;
static const Color primary = Color(0xFF6200EE);
}
What is the recommended way to make a class like MyColor available in .evc?
Beta Was this translation helpful? Give feedback.
All reactions