This is a sample Flutter project specifically designed for Wear OS. It demonstrates a robust architecture utilizing the BLoC pattern, Dio for network management, and Drift (formerly Moor) for local database persistence and offline support.
Important
NOTE: EXAMPLE FOR ANDROID (WEAR OS) ONLY.
- Wear OS Support: Tailored UI for circular and square smartwatch screens, battery optimization, and wearable-specific features.
- Bloc Pattern: Manages state and separates business logic from the UI using streams.
- Dio Network Manager: Handles REST API requests to fetch remote data.
- Drift Database: A reactive persistence library for Flutter and Dart, built on top of SQLite, providing offline functionality.
Important
A detailed setup guide is available on Medium!
👉 Standalone Wear OS Application (Setup for Jetpack Compose and Flutter) 👈
Important
A similar project for pure Native Android (Kotlin/Compose) is also available!
👉 SampleWearOSComposeWithList 👈
To ensure the app is recognized as a wearable app, add the following to your AndroidManifest.xml:
<manifest>
<uses-feature android:name="android.hardware.type.watch" />
<application>
<!--other code here-->
<!--Optional - Depend if the Wear OS App need app or note-->
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
<!--other code here-->
</application>
</manifest>- Flutter SDK: 3.41.6
- Dart Version: 3.11.4
This project parses data from the following endpoints:
- GitHub: SpaceX-API
- Documentation: Postman SpaceX Docs
- Building Wear OS Apps: Flutter Community Medium
- Wear Plugin: pub.dev/packages/wear
- Flutter Wear Plugin GitHub: fluttercommunity/flutter_wear_plugin
- Wear OS Compose Guide: Official Android Documentation
If you find this project useful, please give it a star!
Check out the stargazers here
Feedback, bug reports, and feature requests are welcome! Feel free to open an issue or submit a pull request.

