Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,8 @@ Widget build(BuildContext context) {

The `Actions` widget only invokes actions when `isEnabled(Intent intent)`
returns true, allowing the action to decide if the dispatcher should consider it
for invocation. If the action isn't enabled, then the `Actions` widget gives
another enabled action higher in the widget hierarchy (if it exists) a chance to
execute.
for invocation. If the action isn't enabled, the action is not invoked and the
framework stops searching for matching actions at that point.
Comment on lines +324 to +325

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To adhere to the semantic line breaks guidelines, each sentence should start on a new line. Please split the sentence starting with "If the action isn't enabled..." onto its own line.

Suggested change
for invocation. If the action isn't enabled, the action is not invoked and the
framework stops searching for matching actions at that point.
for invocation.
If the action isn't enabled, the action is not invoked and the
framework stops searching for matching actions at that point.


The previous example uses a `Builder` because `Actions.handler` and
`Actions.invoke` (for example) only finds actions in the provided `context`, and
Expand Down
Loading