I am new to Flutter App development and as a learning project, I am working on a notes app. It takes notes from the user and saves it in a database. I have written the home-screen and database helper class in Dart.
Now I want to add a home screen widget to the app. As per my understanding, I think it is not possible to write home screen widgets in a flutter. so I was thinking of adding a java code block to the project for UI and use already written database helper class for storing data. I cannot find any useful references for the same. It is possible to import/use "database helper class that is already written in dart" in Java.