gskinnerTeam / flutter-universal-platform

A web-safe implementation of dart.io.Platforms. Helps avoid the "Unsupported operation: Platform._operatingSystem" runtime error.
MIT License
105 stars 27 forks source link

Added TV checks #26

Open 0Franky opened 10 months ago

0Franky commented 10 months ago

NOTE: This update isn't checked (I don't have an AppleTV)

Added getters to check if is a tv.

Thanks to @rsanjuan87 and @DenisovAV: https://github.com/gskinnerTeam/flutter-universal-platform/pull/24/files https://github.com/DenisovAV/flutter_tv/blob/master/lib/ui/widgets/platform.dart