Skip to content

Commit

Permalink
rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
rodydavis committed Nov 22, 2024
1 parent 8970839 commit 7b3946a
Show file tree
Hide file tree
Showing 49 changed files with 913 additions and 875 deletions.
2 changes: 1 addition & 1 deletion examples/animations_example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class _MyHomePageState extends State<MyHomePage> {
body: Stack(
children: [
for (final rect in circles)
Watch((context) {
Watch((context, _) {
return AnimatedPositioned.fromRect(
rect: rect.value!,
duration: kThemeAnimationDuration,
Expand Down
30 changes: 15 additions & 15 deletions examples/animations_example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.19.0"
cupertino_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -79,18 +79,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
version: "10.0.7"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.8"
leak_tracker_testing:
dependency: transitive
description:
Expand Down Expand Up @@ -152,26 +152,26 @@ packages:
path: "../../packages/signals"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
signals_core:
dependency: "direct overridden"
description:
path: "../../packages/signals_core"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
signals_flutter:
dependency: "direct overridden"
description:
path: "../../packages/signals_flutter"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
version: "0.0.0"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -200,10 +200,10 @@ packages:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.3.0"
term_glyph:
dependency: transitive
description:
Expand All @@ -216,10 +216,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.7.3"
vector_math:
dependency: transitive
description:
Expand All @@ -237,5 +237,5 @@ packages:
source: hosted
version: "14.2.5"
sdks:
dart: ">=3.4.3 <4.0.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
6 changes: 3 additions & 3 deletions examples/auth_flow/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class DarkModeToggle extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Watch((_) {
return Watch((_, __) {
final isDark = brightness() == Brightness.dark;
return IconButton(
onPressed: () {
Expand Down Expand Up @@ -195,7 +195,7 @@ class _HomeScreenState extends State<HomeScreen> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text('Count value:'),
Watch((context) {
Watch((context, _) {
return Text(
'$counter',
style: Theme.of(context).textTheme.headlineMedium,
Expand Down Expand Up @@ -288,7 +288,7 @@ class ProfileScreen extends StatelessWidget {

@override
Widget build(BuildContext context) {
return Watch((context) {
return Watch((context, _) {
return Scaffold(
appBar: AppBar(
title: Text('Profile: ${auth.currentUserName()}'),
Expand Down
34 changes: 17 additions & 17 deletions examples/auth_flow/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.19.0"
cupertino_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -92,18 +92,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
version: "10.0.7"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.8"
leak_tracker_testing:
dependency: transitive
description:
Expand All @@ -124,10 +124,10 @@ packages:
dependency: transitive
description:
name: logging
sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.3.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -173,26 +173,26 @@ packages:
path: "../../packages/signals"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
signals_core:
dependency: "direct overridden"
description:
path: "../../packages/signals_core"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
signals_flutter:
dependency: "direct overridden"
description:
path: "../../packages/signals_flutter"
relative: true
source: path
version: "6.0.0"
version: "6.0.0-rc.3"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
version: "0.0.0"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -221,10 +221,10 @@ packages:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.3.0"
term_glyph:
dependency: transitive
description:
Expand All @@ -237,10 +237,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.7.3"
vector_math:
dependency: transitive
description:
Expand All @@ -258,5 +258,5 @@ packages:
source: hosted
version: "14.2.5"
sdks:
dart: ">=3.3.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _EditTodoState extends State<EditTodo> {
),
const SizedBox(height: 16),
Watch(
(context) => CheckboxListTile(
(context, _) => CheckboxListTile(
title: const Text('Completed'),
value: completed.value,
onChanged: (val) => completed.value = val!,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class _TodoListViewState extends State<TodoListView> {
),
],
),
body: Watch((context) {
body: Watch((context, _) {
if (widget.viewModel.todos.isEmpty) {
return const Center(
child: Text('No todos'),
Expand Down
Loading

0 comments on commit 7b3946a

Please sign in to comment.