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

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here's a corrected version:

Flutter TV D-Pad

Flutter application for handling TV D-pad navigation.

Getting Started

Locate the widget named DpadWidget in the on_dpad_click_widget.dart file. This widget includes two methods:

  1. Function onClick This method supports D-pad key code 23 and Keyboard Key 66.

  2. Function(bool isFocused) onFocus This method returns true when any interaction happens with it and false when the control moves out.

For more details, navigate to the lib folder and check the on_dpad_click_widget.dart file.

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