Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
#21
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunice Vassoa committed May 2, 2023
1 parent 2ea0322 commit 7828e2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/easy_autocomplete.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class EasyAutocomplete extends StatefulWidget {

/// Creates a autocomplete widget to help you manage your suggestions
const EasyAutocomplete(
{this.suggestions,
{Key? key,
this.suggestions,
this.asyncSuggestions,
this.suggestionBuilder,
this.progressIndicatorBuilder,
Expand Down Expand Up @@ -176,6 +177,7 @@ class _EasyAutocompleteState extends State<EasyAutocomplete> {
showWhenUnlinked: false,
offset: Offset(0.0, size.height + 5.0),
child: FilterableList(
key: widget.key,
loading: _isLoading,
suggestionBuilder: widget.suggestionBuilder,
progressIndicatorBuilder: widget.progressIndicatorBuilder,
Expand Down
3 changes: 2 additions & 1 deletion lib/widgets/filterable_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ class FilterableList extends StatelessWidget {
final Widget? progressIndicatorBuilder;

const FilterableList(
{required this.items,
{Key? key,
required this.items,
required this.onItemTapped,
this.suggestionBuilder,
this.elevation = 5,
Expand Down

0 comments on commit 7828e2a

Please sign in to comment.