onShare method
Action to perform upon using the Share context option.
Implementation
void onShare(String searchTerm, {String? sentence = ''}) async {
Share.share(searchTerm);
}
Action to perform upon using the Share context option.
void onShare(String searchTerm, {String? sentence = ''}) async {
Share.share(searchTerm);
}