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 = () {
_focusChangedListener?.call(focusNode);
};
focusNode.addListener(_focusDelegateListener!);
}