I have flutter GUI application which calls C++ DLL methods using FFI i.e. Foreign Function Interface . GUI and C++ DLL outputs some statements on console. The problem is I want to redirect those statements ( i.e. anything on stdout ) to show it on GUI in a textbox.
Any idea how to do it using dart/flutter ?