1
0
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:
Brett Morgan
2019-12-18 10:54:58 +11:00
committed by GitHub
parent f6c3f889e6
commit d71180683c
24 changed files with 159 additions and 66 deletions

View File

@@ -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(),
),
);