readonly<T> function

FlutterReadonlySignal<T> readonly<T>(
  1. T value
)

Create a new plain readonly signal

Implementation

FlutterReadonlySignal<T> readonly<T>(
  /// The initial value for the signal
  T value,
) {
  return signal<T>(value);
}