Complete the code to import the Provider package in a Flutter app.
import 'package:flutter/material.dart'; import '[1]';
Complete the code to provide a ChangeNotifier to the widget tree.
ChangeNotifierProvider(
create: (context) => [1](),
child: MyApp(),
)Fix the error in accessing the provider inside a widget build method.
final model = Provider.of<[1]>(context);Fill both blanks to listen to changes and rebuild the widget accordingly.
final model = Provider.of<[1]>(context, [2]: true);
Fill all three blanks to update the model and notify listeners.
class MyModel extends ChangeNotifier { int _count = 0; int get count => [1]; void increment() { _count [2] 1; [3](); } }
