-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
#1: dependency fetch call on null issue fixed
- Loading branch information
Showing
14 changed files
with
160 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
class Utils { | ||
/// this function is going to build and return key from [text] | ||
static String buildKey(String text){ | ||
static String buildKey(String text) { | ||
return text.replaceAll(" ", "_"); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ extension GlobalKeyExtension on GlobalKey { | |
return null; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
|
||
import 'package:text_search_field/src/text_search_field_data_model.dart'; | ||
|
||
class TextSearchFieldController { | ||
String text; | ||
bool isLoading; | ||
void Function(TextSearchFieldDataModel model)? selected; | ||
TextSearchFieldController({this.text ="", this.isLoading = false, this.selected}); | ||
TextSearchFieldController( | ||
{this.text = "", this.isLoading = false, this.selected}); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
class TextSearchFieldDataModel{ | ||
class TextSearchFieldDataModel { | ||
String? key; | ||
String? value; | ||
TextSearchFieldDataModel({this.key, this.value}); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export 'src/text_search_field.dart'; | ||
export 'src/text_search_field_data_model.dart'; | ||
export 'src/text_search_field_controller.dart'; | ||
export 'src/text_search_field_controller.dart'; |
Oops, something went wrong.