App/Flutter

[ FLUTTER ] Keyboard search and go

HEON.D 2021. 9. 2. 17:21
TextFormField(
    textInputAction: TextInputAction.search,
    onFieldSubmitted: (value) {
    }
    onChanged: (value) {
    }
)

 

onFielddSubmitted 이벤트를 사용할 것