mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +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:
@@ -8,7 +8,7 @@ void main() {
|
||||
// Build our app, provide it with a model, and trigger a frame.
|
||||
await tester.pumpWidget(
|
||||
ChangeNotifierProvider(
|
||||
builder: (_) => Counter(),
|
||||
builder: (context) => Counter(),
|
||||
child: MyApp(),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user