Project Title
Dpad_containers_gh
Authors
Documentation
- (0) use as normal containers,
- (1) easy to use,
- (2) wrap a widget with dpad_container_gh for dpad and keyboard shortcut Support.
- (3) this widget 5 type container widget
- animated container
- container
- list_tileSwitch
- timer_animated_container
- dpad_textfield
Deployment
DpadContainer_gh
DpadContainerButton(
autoFocus: true,
height: 100,
width: 100,
// focusedheight: 100,
// nonfocusedheight: 100,
// focusedwidth: 100,
// nonfocusedwidth: 100,
//? any key of keyboard suported separately
onKey_numberpad_add: _increment,
onKey_numberpad_subtract: _decrement,
onPressedEnterOKAction: changeRedgreen,
onPressedSpacebarAction: changeRedgreen,
//? any key of keyboard suported separately
child: const Center(child: Icon(Icons.light)),
// focusedchild: const Center(child: Icon(Icons.light)),
// nonfocusedchild: const Center(child: Icon(Icons.light)),
onPressedEscAction: esckey,
focusedBackgroundDecoration: BoxDecoration(
borderRadius: BorderRadius.circular(25.0),
color: Colors.blue),
nonfocusedBackgroundDecoration: BoxDecoration(
borderRadius: BorderRadius.circular(25.0),
color: Colors.grey),
// focusedBackgroundColor: Colors.blue,
// nonfocusedBackgroundColor: Colors.grey,
),
Thanks,
Goutam halder