0 purchases
value listenable listener
Features #
The widget will help you to listen the changes of any ValueListenable
Usage #
final ValueNotifier<int> counter = ValueNotifier(0);
ValueListenableListener<int>(
valueListenable: counter,
listener: (int value) {
ScaffoldMessenger.of(context).showSnackBar(
const SnackBar(
content: Text('Value Listened Successfully'),
),
);
},
child: const SizedBox.shrink(),
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.