Last updated:
0 purchases
flutter twitch player
Flutter Twitch Player #
A flutter plugin that plays twitch live streams using InAppWebview under the hood.
Getting started #
Update gradle in android/build.gradle
dependencies {
classpath 'com.android.tools.build:gradle:7.0.0'
}
copied to clipboard
Update minSDK to 17 in android/app/build.gradle
defaultConfig {
minSdkVersion 17
}
copied to clipboard
Update distributionUrl in android/gradle/gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
copied to clipboard
Usage #
TwitchPlayerIFrame(channel: "channel name", controller: TwitchController())
copied to clipboard
TODO #
play
pause
mute
unmute
fullscreen
Additional information #
Only tested on android.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.