mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #208 from abarth/fix_type
Fix type error found by dartanalyzer --strong
This commit is contained in:
commit
136b2709c8
@ -585,7 +585,7 @@ abstract class StatefulComponent extends Component {
|
||||
return super.syncChild(node, oldNode, slot);
|
||||
}
|
||||
|
||||
void setState(Function fn()) {
|
||||
void setState(void fn()) {
|
||||
assert(!_disqualifiedFromEverAppearingAgain);
|
||||
fn();
|
||||
scheduleBuild();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user