Skip to content

Commit

Permalink
chore: Update BindWithMixin to use ValueNotifier instead of Pod
Browse files Browse the repository at this point in the history
  • Loading branch information
robmllze committed Jul 28, 2024
1 parent 314ba50 commit 0bb3917
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/_bind_with_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ mixin BindWithMixin on Disposable {
//
//

void bind(ValueNotifier pod) {
_children.add(pod);
void bind(ValueNotifier valueNotifier) {
_children.add(valueNotifier);
}

//
Expand Down Expand Up @@ -66,5 +66,5 @@ abstract class _BindWithMixinState<T extends StatefulWidget> extends State<T>
/// late final pStatus = Pod<String>('init', bindWith: this);
/// }
/// ```
abstract class BindWithMixinState<T extends StatefulWidget>
extends _BindWithMixinState<T> with BindWithMixin {}
abstract class BindWithMixinState<T extends StatefulWidget> extends _BindWithMixinState<T>
with BindWithMixin {}

0 comments on commit 0bb3917

Please sign in to comment.