From df3fff97ed74941015aa549316aef5c00ff9076c Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Mon, 31 Oct 2016 22:46:22 -0700 Subject: [PATCH] Apply review comments from #6612. (#6616) TBR @abarth --- packages/flutter/lib/src/material/scaffold.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/scaffold.dart b/packages/flutter/lib/src/material/scaffold.dart index f8d8cd7372..d9608a59cc 100644 --- a/packages/flutter/lib/src/material/scaffold.dart +++ b/packages/flutter/lib/src/material/scaffold.dart @@ -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 '