I'm new into Flutter and I'm trying to add Blockly into Flutter for an app for kids. I want to be able to program some code into a Flutter app with Blockly, practically I'm trying to create a route with inside a Blockly widget in which the kid, through Blockly, can codes some simple programs and these are used by the Flutter app to do something.
If I understood right, you want to use Blockly as a widget inside your app. A way to do that is to create a route that has a WebView widget in order to display Blockly:
@override
Widget build(BuildContext context) {
return WebView(
initialUrl: 'https://developers.google.com/blockly',
);
}