1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-30 08:11:40 +00:00

web: slide_puzzle - update to latest provider port

This commit is contained in:
Kevin Moore
2019-06-14 10:45:21 -07:00
parent 3d405359c7
commit 7a42263344
3 changed files with 79 additions and 85 deletions

View File

@@ -68,7 +68,7 @@ class _ValueTabControllerState<T> extends State<ValueTabController<T>>
controller: _controller,
enabled: TickerMode.of(context),
child: ValueListenableProvider.value(
valueListenable: _notifier,
value: _notifier,
child: widget.child,
),
);