Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Focus.at() should give better feedback when there's two focusable widgets #181

Closed
@FlutterIssues

Description

@FlutterIssues

Issue by Hixie
Monday Oct 05, 2015 at 21:18 GMT
Originally opened as https://github.com/flutter/engine/issues/1494


Right now Focus.at() defaults to returning true if there's no scope, which is intentional to make it easier to write trivial apps with a single focusable widget. But it means that when you add a second one, things break in unobvious ways. We should catch that case and assert with a useful message.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions