focus_widget 1.0.0 focus_widget: ^1.0.0 copied to clipboard
When the FocusWidget has focus Trigger the PointerDown event outside the FocusWidget area Will make FocusWidget lose focus and trigger the FocusNode listener
Flutter Focus Widget #
一个可以让FocusNode失去焦点的Widget #
A focusable and blurable widget of use the FocusNode. #
-
当FocusWidget获得焦点后
在FocusWidget域外触发PointerDown
会让FocusWidget失去焦点
并且触发FocusNode的listener
-
When the FocusWidget has focus
Trigger the PointerDown event outside the FocusWidget area
Will make FocusWidget lose focus
And trigger the FocusNode listener