initState method
Implementation
@override
void initState() {
super.initState();
_chips.addAll(widget.initialValue);
/*widget.initialValue.forEach((data){
selectSuggestion(data);
});*/
this._focusNode = FocusNode();
this._suggestionsBoxController = _SuggestionsBoxController(context);
this._suggestionsStreamController = StreamController<List<T>>.broadcast();
(() async {
await this._initOverlayEntry();
this._focusNode.addListener(_onFocusChanged);
// in case we already missed the focus event
if (this._focusNode.hasFocus) {
this._suggestionsBoxController.open();
}
})();
}