refactor: Omit local types

This commit is contained in:
Krille 2024-07-04 15:42:00 +02:00
commit ef5ea57c58
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
7 changed files with 10 additions and 9 deletions

View file

@ -55,7 +55,7 @@ class InputBar extends StatelessWidget {
}
final searchText =
controller!.text.substring(0, controller!.selection.baseOffset);
final List<Map<String, String?>> ret = <Map<String, String?>>[];
final ret = <Map<String, String?>>[];
const maxResults = 30;
final commandMatch = RegExp(r'^/(\w*)$').firstMatch(searchText);