First of all, we need to rewrite it in Flutter, keeping all the original functions except for the UI.