AutoComplete widget create an error onscroll if the controller property is set.
In order to recreate set Autocomplete is a large form that needs to be scrolled.
It seems like it's disposed or needs rebuilt when it's no longer on screen.
TextField(
controller: controllers['CompanyName'],
decoration: InputDecoration(
hintText: "Name of Company",
enabledBorder: AppStyles.authBorder,
focusedBorder: AppStyles.authBorder,
border: AppStyles.authBorder,
fillColor: Colors.transparent,
filled: true,
),
),
ChipsInputAutocomplete(
options: industryValues,
createCharacter: ' ',
controller: chipController,
widgetContainerDecoration: BoxDecoration(
border: Border.all(color: Colors.grey),
borderRadius: BorderRadius.circular(10),
),
),
TextField(
controller: controllers['CompanyName'],
decoration: InputDecoration(
hintText: "Name of Company",
enabledBorder: AppStyles.authBorder,
focusedBorder: AppStyles.authBorder,
border: AppStyles.authBorder,
fillColor: Colors.transparent,
filled: true,
),
),
],
),
),
AutoComplete widget create an error onscroll if the controller property is set.
In order to recreate set Autocomplete is a large form that needs to be scrolled.
It seems like it's disposed or needs rebuilt when it's no longer on screen.
`
Form(
key: formkey,
child: ListView(
shrinkWrap: true,
children: [
`