chore: code cleanup according to unintroduced lints (#4488)

* chore: remove redundant arguments

* chore: remove unused constructor params

* chore: reorganize constructors

* chore: remove unnecessary awaits in returns

* chore: remove unnecessary paranthesis

* chore: add lints

* chore: clean up after merge

* chore: add sort constructors first

* chore: organize constructors in blocs

* chore: use sizedbox.shrink over empty container
This commit is contained in:
Mathias Mogensen 2024-01-25 16:37:36 +01:00 committed by GitHub
parent 747abba87f
commit acc03b8cc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
447 changed files with 3333 additions and 3412 deletions

View file

@ -175,7 +175,6 @@ class _DocumentPageState extends State<DocumentPage> {
if (editorState != null && widget.view.id == state.action?.objectId) {
editorState.updateSelectionWithReason(
Selection.collapsed(Position(path: [path])),
reason: SelectionUpdateReason.transaction,
);
}
}