TF-691 Support change focus input field by TAB key on web keyboard

This commit is contained in:
dab246
2022-08-04 15:20:18 +07:00
committed by Dat H. Pham
parent 6a96117355
commit 6b1d967861
6 changed files with 291 additions and 127 deletions
@@ -109,11 +109,13 @@ Widget buildTextButton(String text, {
EdgeInsets? padding,
double? radius,
IconWebCallback? onTap,
FocusNode? focusNode,
}) {
return SizedBox(
width: width ?? double.infinity,
height: height ?? 40,
child: ElevatedButton(
focusNode: focusNode,
style: ButtonStyle(
backgroundColor: MaterialStateProperty.resolveWith((states) => backgroundColor ?? AppColor.colorTextButton),
elevation: MaterialStateProperty.resolveWith((states) => 0),