1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Make use of (context) consistent (#84)

Since we’re not using `(_)` anywhere else in this example, doing this here is weird.
This commit is contained in:
Filip Hracek
2019-05-20 18:40:46 -07:00
committed by GitHub
parent 7bae186046
commit fbf40c0cd2

View File

@@ -8,7 +8,7 @@ void main() {
// Build our app, provide it with a model, and trigger a frame. // Build our app, provide it with a model, and trigger a frame.
await tester.pumpWidget( await tester.pumpWidget(
ChangeNotifierProvider( ChangeNotifierProvider(
builder: (_) => Counter(), builder: (context) => Counter(),
child: MyApp(), child: MyApp(),
), ),
); );