Skip to content

Flutter widget built for Android/Fire TV. Flutter don’t support android TV officially and there is no support for DPad controller. I developed a widget which support DPad and respond to all controller events. Using RawKeyboard widget. By using this you can convert your mobile app into TV and support all click and focus events

Notifications You must be signed in to change notification settings

umairalikhalid786/Flutter_DPad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter TV DPad

Flutter application for handling TV D_pad navigation.

Getting Started

Simply find widget named DpadWidget in on_dpad_clic_widget.dart file. This widget have two methods

1) Function onClick

This method support Dpad key code 23 and simple Keyboard Key 66

1) Function(bool isFocused) onFocus

This method resturns true when any inetraction happens with it and false when control move out.

for more details please navigate to lib folder and check on_dpad_clic_widget.dart file

Alt Text

About

Flutter widget built for Android/Fire TV. Flutter don’t support android TV officially and there is no support for DPad controller. I developed a widget which support DPad and respond to all controller events. Using RawKeyboard widget. By using this you can convert your mobile app into TV and support all click and focus events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 95.0%
  • Swift 3.6%
  • Kotlin 1.1%
  • Objective-C 0.3%