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. A TV app demo is a…

Notifications You must be signed in to change notification settings

UmairKhalid786/Flutter_DPad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter TV DPad

Flutter application for handling TV D_pad navigation.

Getting Started

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

1) Function onClick

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

1) Function(bool isFocused) onFocus

This method returns true when any interaction happens with it and false when the control moves 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. A TV app demo is a…

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published