How madhav008/sms_gateway_flutter works
This is a Flutter SMS gateway with a documented REST surface for listing, sending, and deleting SMS records. Its principal user-to-result workflow is an HTTP client requesting an SMS operation and receiving a response from the API; the repository also contains Flutter app and platform-host code. The README documents the endpoint behavior, but the Dart implementation excerpts were not provided, so internal calls between UI, controller, task handler, and API modules cannot be verified. Platform nodes reflect sampled or indexed host files, not SMS business logic.
Main entry points: routes.dart SMS endpoints · flutter_window.cpp Flutter window · main.dart App entry · main.cpp Windows entry
Components 20
SMS API
- SMS endpoints
lib/Api/routes.dart - API server
lib/Api/server.dart - SMS records
Flutter app
- App entry
lib/main.dart - SMS UI
lib/section.dart - SMS controller
lib/controller/sms_controller.dart - Task handler
lib/TaskHandler.dart
Android host
- Android host
android/app/src/main/kotlin/com/example/my_sms/MainActivity.kt
Desktop hosts
- iOS host
ios/Runner/AppDelegate.swift - Linux entry
linux/runner/main.cc - Linux app host
linux/runner/my_application.cc - Linux plugin API
linux/flutter/generated_plugin_registrant.h - macOS plugins
macos/Flutter/GeneratedPluginRegistrant.swift - Windows entry
windows/runner/main.cpp - Flutter window
windows/runner/flutter_window.cpp - Win32 window
windows/runner/win32_window.cpp - Window interface
windows/runner/win32_window.h - Flutter interface
windows/runner/flutter_window.h - Windows plugin API
windows/flutter/generated_plugin_registrant.h
Other components
- HTTP client
Connections 17
- HTTP client → SMS endpoints: requests SMS
README.md - SMS endpoints → API server: served by
- SMS endpoints → SMS records: reads, writes, deletes
README.md - SMS endpoints → HTTP client: returns response
README.md - App entry → SMS UI: launches
- SMS UI → SMS controller: delegates to
- SMS controller → Task handler: delegates to
- Android host → App entry: hosts
- iOS host → App entry: hosts
- Linux entry → Linux app host: starts
linux/runner/main.cc - Linux app host → Linux plugin API: registers plugins
linux/runner/my_application.cc - macOS plugins → App entry: registers plugins
- Windows entry → Flutter window: creates
windows/runner/main.cpp - Flutter window → Window interface: extends
- Flutter window → Win32 window: uses window
windows/runner/flutter_window.cpp - Windows entry → Flutter interface: creates
windows/runner/main.cpp - Windows plugin API → Flutter window: plugin registration interface