field_suggestion
field_suggestion copied to clipboard
`network` widget variant to use package-widget for network base searching
Current version of widget requires already providen suggestions. And which makes working with network so hard.
So, we've to implement a factory builder to create network-usage appropriate widget which don't requires the suggestions (maybe gonna request something different).
FieldSuggestion.network(
boxBuilder: (context, index) {
if(isLoading) return Center(child: LoadingWidget());
return SingleChildScrollView(
child: Column(
children: [
// ...
],
),
);
}
)