Commit df3fff97 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Apply review comments from #6612. (#6616)

TBR @abarth
parent 9d64dcc7
......@@ -450,7 +450,7 @@ class Scaffold extends StatefulWidget {
return result;
throw new FlutterError(
'Scaffold.of() called with a context that does not contain a Scaffold.\n'
'No Scaffold could be found starting from the context that was passed to Scaffold.of(). '
'No Scaffold ancestor could be found starting from the context that was passed to Scaffold.of(). '
'This usually happens when the context provided is from the same StatefulWidget as that '
'whose build function actually creates the Scaffold widget being sought.\n'
'There are several ways to avoid this problem. The simplest is to use a Builder to get a '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment