TextFieldWrapper.fromKey constructor
TextFieldWrapper.fromKey({
- required FocusNode focusNode,
- required GlobalKey<
State< focusKey,StatefulWidget> > - double more = 0,
Implementation
TextFieldWrapper.fromKey({
required this.focusNode,
required this.focusKey,
this.more = 0,
}) {
_focusDelegateListener = () {
if (_focusChangedListener != null) {
_focusChangedListener!(focusNode);
}
};
focusNode.addListener(_focusDelegateListener!);
}