MaterialAutoSuggestInputComponent<T>.protected constructor
MaterialAutoSuggestInputComponent<T>.protected (
- NgControl? _cd,
- IdGenerator idGenerator,
- ChangeDetectorRef _changeDetector, [
- PopupSizeProvider? _popupSizeDelegate,
Implementation
MaterialAutoSuggestInputComponent.protected(
this._cd, IdGenerator idGenerator, this._changeDetector,
[this._popupSizeDelegate])
: activeModel = ActiveItemModel(idGenerator, loop: true),
popupId = idGenerator.nextId(),
inputId = idGenerator.nextId() {
if (_cd != null) {
_cd?.valueAccessor = this;
}
selection = SelectionModel.single();
}