focus_widget 1.0.2 focus_widget: ^1.0.2 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
[1.0.2] #
- Now when the TextField layout changes, the focus area can follow
- New parameters:
- bool showFocusArea Display a translucent red box to show the focus area, it's for debug.
- bool keepFocusStyle The TextField lost focus but keep to show the focus style.
- bool Function(Widget widget) onLostFocus Return true to allow lost focus.