printOnConsole static method
Prints on demo console.
Implementation
static void printOnConsole(BuildContext context, String text) {
DemoFluAppState? state = context.findAncestorStateOfType<DemoFluAppState>();
state?.settings.consoleNotifier.update(text);
}