v1.0.5+2focus_widget
위젯 외부를 터치하면 FocusNode가 포커스를 잃습니다.
포커스 가능하고 블러 가능한 TextField 위젯
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
新增的参数:
bool showFocusArea
使用一个半透明的红色方框显示焦点区域,主要用于调试。
void Function(Widget widget, FocusNode focusNode) onLostFocus
失去焦点后会调用这个function。
New Parameters:
bool showFocusArea
Display a translucent red box to show the focus area, it's for debug.
void Function(Widget widget, FocusNode focusNode) onLostFocus
When lost focus invoke this function.
当FocusWidget获得焦点后
在FocusWidget区域外点击
会调用FocusNode.unfocus()并且触发FocusNode的listener
When the FocusWidget had focus
Tap outside the FocusWidget area
Will call the FocusNode's unfocus method and trigger the FocusNode's listener
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗