FlutterSignal<T> constructor

FlutterSignal<T>(
  1. T internalValue, {
  2. bool autoDispose = false,
  3. String? debugLabel,
})

Simple writeable signal.

final count = signal(0);
print(count.value); // 0
count.value++;
print(count.value); // 1

Implementation

FlutterSignal(
  super.internalValue, {
  super.autoDispose,
  super.debugLabel,
});