refactor: Add code quality reports
This commit is contained in:
parent
9e7a278dff
commit
2f978c5098
17 changed files with 93 additions and 29 deletions
|
|
@ -221,7 +221,8 @@ class InputBar extends StatelessWidget {
|
|||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text('/' + command, style: const TextStyle(fontFamily: 'monospace')),
|
||||
Text('/' + command,
|
||||
style: const TextStyle(fontFamily: 'monospace')),
|
||||
Text(_commandHint(L10n.of(context), command),
|
||||
style: Theme.of(context).textTheme.caption),
|
||||
],
|
||||
|
|
@ -291,7 +292,7 @@ class InputBar extends StatelessWidget {
|
|||
return Container();
|
||||
}
|
||||
|
||||
void insertSuggestion(BuildContext context, Map<String, String> suggestion) {
|
||||
void insertSuggestion(_, Map<String, String> suggestion) {
|
||||
final replaceText =
|
||||
controller.text.substring(0, controller.selection.baseOffset);
|
||||
var startText = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue