Skip to content

This is a sample project that support Wear OS app and also it uses Bloc Architecture Pattern with Dio Network Manager and Drift Database.

Notifications You must be signed in to change notification settings

NicosNicolaou16/SampleWearOSWithList

Repository files navigation

Sample Wear OS with List

This is a sample project that support Wear OS app for Wear and also it uses Bloc Architecture Pattern with Dio Network Manager and Drift Database.

NOTE: EXAMPLE ONLY FOR ANDROID

Similar project with (Kotlin Language)

https://github.com/NicosNicolaou16/SampleWearOSComposeWithList

This Project contains:

Wear OS support
Bloc Architecture Pattern with Repository and Service
Dio (Network Manager)
Drift Database (SQL)

References/Tutorials Follow

https://medium.com/flutter-community/flutter-building-wearos-app-fedf0f06d1b4
https://pub.dev/packages/wear
https://github.com/fluttercommunity/flutter_wear_plugin
https://developer.android.com/training/wearables/compose

Versions

Flutter SDK version: 3.24.2
Dart Version: 3.5.2

Setup in Manifest

<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>

Check my article

https://medium.com/@nicosnicolaou/standalone-wear-os-application-jetpack-compose-and-flutter-5a37f4775ed8

Feeds/Urls/End Point (parsing some data from response)

(Links References for Ends Points)

https://github.com/r-spacex/SpaceX-API (GitHub)
https://docs.spacexdata.com/?version=latest (Postman)

About

This is a sample project that support Wear OS app and also it uses Bloc Architecture Pattern with Dio Network Manager and Drift Database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages