Skip to content

This is a sample project that support Android TV 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/SampleFlutterTVApp

Repository files navigation

Sample Flutter TV App

This is a sample project that support Android TV OS App 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/SampleAndroidTvApp

References/Tutorials Follow/For Manifest Setup

https://mobikul.com/tv-app-using-flutter/
https://stackoverflow.com/questions/69607355/how-to-create-stack-vertical-listview-and-horizontal-listview-in-flutter-draggab

This Project contains:

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

Versions

Flutter SDK version: 3.24.4
Dart Version: 3.5.4

Setup in Manifest

<manifest>

    <uses-feature android:name="android.software.leanback" android:required="false" />

    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />

    <application android:banner="@mipmap/ic_launcher">
        <!--other code here-->
        <activity>
            <!--other code here-->
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
                <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
            </intent-filter>
        </activity>
        <!--other code here-->
    </application>
</manifest>

Check my article

https://medium.com/@nicosnicolaou/android-tv-application-jetpack-compose-and-flutter-f4decfa765c6

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