More lints (#70500)

This commit is contained in:
Ian Hickson
2020-11-16 11:07:37 -08:00
committed by GitHub
parent 9a2bf0e70f
commit 6cff33832e
19 changed files with 54 additions and 50 deletions

View File

@@ -528,11 +528,16 @@ class _WidgetBuildRecorderHost extends StatefulWidget {
final WidgetBuildRecorder recorder;
@override
State<StatefulWidget> createState() =>
recorder._hostState = _WidgetBuildRecorderHostState();
State<StatefulWidget> createState() => _WidgetBuildRecorderHostState();
}
class _WidgetBuildRecorderHostState extends State<_WidgetBuildRecorderHost> {
@override
void initState() {
super.initState();
widget.recorder._hostState = this;
}
// This is just to bypass the @protected on setState.
void _setStateTrampoline() {
setState(() {});