mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
flutter pub upgrade (#178)
This commit is contained in:
@@ -17,7 +17,7 @@ void main() {
|
||||
// Initialize the model in the builder. That way, Provider
|
||||
// can own Counter's lifecycle, making sure to call `dispose`
|
||||
// when not needed anymore.
|
||||
builder: (context) => Counter(),
|
||||
create: (context) => Counter(),
|
||||
child: MyApp(),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user