refactor: Omit local types
This commit is contained in:
parent
e88afdd357
commit
ef5ea57c58
7 changed files with 10 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue