I'm trying to implement the code from answer #1 from this thread in Flutter.
The "invokeMethod" is correctly set and the Android gets correctly called. When I try to add the specific code that should come from the library "com.google.zxing", I don't understand how to import it.
I tried putting it into the Android gradle, but the zxing class methods remain "red" in MainActivity, as the library doesn't get imported.
Maybe there is a specific procedure to import external dependencies?