This is a design-only prototype derived from the original VPNclient-app Flutter codebase. Structure, file names and procedure names are unchanged; only the calls into the real native VPN engine were replaced with mocks so the UI can run standalone, with no real network/VPN behavior.
lib/pages/main/main_btn.dartnow importslib/mock/vpnclient_engine_mock.dartinstead ofpackage:vpnclient_engine_flutter. The mock class is namedVPNclientEngineand exposes the same static methods used by the UI (connect,disconnect,addSubscription,ClearSubscriptions,updateSubscription,pingServer,onPingResult) — each just waits a short delay and/or emits fake data instead of doing real work.pubspec.yamlno longer depends on thevpnclient_engine_fluttergit package.- Server list, app list and ping/speed numbers are the same static/mock data the original screens already used or generate locally — no backend calls.
- Native platform folders (android/ios/macos/windows/linux) were not
included — this package is meant to run via
flutter run -d chrome(theweb/folder is included) orflutter runafterflutter create .to regenerate platform scaffolding.
flutter pub get
flutter run -d chrome