fix lints
This commit is contained in:
@@ -59,7 +59,7 @@ class SearchScreen extends HookConsumerWidget {
|
||||
/// When null, a new tab will be created.
|
||||
final String? tabId;
|
||||
|
||||
const SearchScreen({
|
||||
const SearchScreen({super.key,
|
||||
required this.initialSearchText,
|
||||
required this.tabType,
|
||||
this.launchedFromIntent = false,
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ class FeedSearch extends HookConsumerWidget {
|
||||
|
||||
final ValueListenable<TextEditingValue> searchTextNotifier;
|
||||
|
||||
const FeedSearch({required this.searchTextNotifier});
|
||||
const FeedSearch({super.key, required this.searchTextNotifier});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
|
||||
+2
-2
@@ -50,7 +50,7 @@ class TabSearch extends HookConsumerWidget {
|
||||
|
||||
final ValueListenable<TextEditingValue> searchTextListenable;
|
||||
|
||||
const TabSearch({required this.searchTextListenable});
|
||||
const TabSearch({super.key, required this.searchTextListenable});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context, WidgetRef ref) {
|
||||
@@ -76,7 +76,7 @@ class TabSearch extends HookConsumerWidget {
|
||||
.fold(
|
||||
<String?, int>{},
|
||||
(map, id) =>
|
||||
map..update(id, (value) => ++value, ifAbsent: () => 1),
|
||||
map..update(id, (value) => value + 1, ifAbsent: () => 1),
|
||||
),
|
||||
),
|
||||
[tabSearchResults],
|
||||
|
||||
Reference in New Issue
Block a user