FlutterSignal<T> class

Simple writeable single

Inheritance
Implemented types
Mixed-in types
Available extensions

Constructors

FlutterSignal.new(T internalValue, {bool autoDispose = false, String? debugLabel, bool runCallbackOnListen = false})
Simple writeable signal.
FlutterSignal.lazy({bool autoDispose = false, String? debugLabel, bool runCallbackOnListen = false})
Lazy signal that can be created with type T that the value will be assigned later.

Properties

autoDispose bool
Throws and error if read after dispose and can be disposed on last unsubscribe.
getter/setter pairinherited
bitLength int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the minimum number of bits required to store this integer.
no setter
codeUnits List<int>

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

An unmodifiable list of the UTF-16 code units of this string.
no setter
debugLabel String?
Debug label for Debug Mode
finalinherited
disposed bool
Check if the effect is disposed
getter/setter pairinherited
entries Iterable<MapEntry<K, V>>

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
equalityCheck bool Function(T a, T b)
Optional method to check if to values are the same
getter/setter pairinherited
first ← E

Available on Signal<List<E>>, provided by the ListSignalExtension extension

no getter
first → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
globalId int
Global ID of the signal
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
hooks → (T Function(), void Function(T))

Available on Signal<T>, provided by the WriteableSignalUtils extension

Easy destructure to get and set the value
no setter
index int

Available on ReadonlySignal<Enum>, provided by the EnumSignalExtension extension

A numeric identifier for the enumerated value.
no setter
internalValue → T
no setterinherited
isEmpty bool

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
isEmpty bool

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Whether this string is empty.
no setter
isEmpty bool

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
isEven bool

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns true if and only if this integer is even.
no setter
isFinite bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is finite.
no setter
isInfinite bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is positive infinity or negative infinity.
no setter
isInitialized bool
Check if the value is set and not a lazy signal
no setterinherited
isNaN bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is a Not-a-Number value.
no setter
isNegative bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is negative.
no setter
isNotEmpty bool

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
isNotEmpty bool

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Whether this string is not empty.
no setter
isNotEmpty bool

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
isOdd bool

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns true if and only if this integer is odd.
no setter
iterator Iterator<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
keys Iterable<K>

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
last ← E

Available on Signal<List<E>>, provided by the ListSignalExtension extension

no getter
last → E

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

no setter
last → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
length int

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
length int

Available on Signal<List<E>>, provided by the ListSignalExtension extension

no getter
length int

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
length int

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The length of the string.
no setter
name String

Available on ReadonlySignal<Enum>, provided by the EnumSignalExtension extension

The name of the enum value.
no setter
reversed Iterable<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

no setter
runCallbackOnListen bool
If true, the callback will be run when the listener is added
getter/setter pairoverride-getter
runes Runes

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

An Iterable of Unicode code-points of this string.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the sign of this integer.
no setter
sign double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

The sign of the double's numerical value.
no setter
sign num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Negative one, zero or positive one depending on the sign and numerical value of this number.
no setter
single → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

no setter
untrackedValue → T

Available on ReadonlySignal<T>, provided by the ReadonlySignalUntrackedValueUtils extension

Runs a callback function that returns the signal value without subscribing to the signal updates.
no setter
value ↔ T
Compute the current value
getter/setter pairinherited
values Iterable<V>

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

no setter
version int
Version numbers should always be >= 0, because the special value -1 is used by Nodes to signify potentially unused but recyclable nodes.
getter/setter pairinherited

Methods

abs() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

abs() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the absolute value of this integer.
abs() num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The absolute value of this number.
add(E value) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

add(E value) bool

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

addAll(Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

addAll(Iterable<E> elements) → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

addAll(Map<K, V> other) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

addEntries(Iterable<MapEntry<K, V>> newEntries) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
afterCreate(T val) → void
Internal hook for after a signal is created
inherited
allMatches(String string, [int start = 0]) Iterable<Match>

Available on ReadonlySignal<Pattern>, provided by the PatternSignalExtension extension

Matches this pattern against the string repeatedly.
any(bool test(E element)) bool

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

asMap() Map<int, E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

beforeUpdate(T val) → void
Internal hook for after a signal is updated
inherited
call() → T
Return the value when invoked
inherited
cast<R>() List<R>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

cast<R>() Set<R>

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

cast<RK, RV>() Map<RK, RV>

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

cast<R>() Iterable<R>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

ceil() int

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the least integer that is not smaller than this number.
ceil() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.
ceil() int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The least integer no smaller than this.
ceilToDouble() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the least integer double value no smaller than this.
ceilToDouble() double

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.toDouble().
ceilToDouble() double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Returns the least double integer value no smaller than this.
clamp(num lowerLimit, num upperLimit) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Returns this num clamped to be in the range lowerLimit-upperLimit.
clear() → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

clear() → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

clear() → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

codeUnitAt(int index) int

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Returns the 16-bit UTF-16 code unit at the given index.
compareTo(T other) int

Available on ReadonlySignal<T>, provided by the ComparableSignalExtension extension

Compares this object to another object.
contains(Object? value) bool

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

contains(Pattern other, [int startIndex = 0]) bool

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Whether this string contains a match of other.
containsAll(Iterable<Object?> other) bool

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

containsKey(Object? key) bool

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

containsValue(Object? value) bool

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

difference(Set<Object?> other) Set<E>

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

dispose() → void
Dispose the signal
inherited
elementAt(int index) → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

endsWith(String other) bool

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Whether this string ends with other.
every(bool test(E element)) bool

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

expand<R>(Iterable<R> toElements(E element)) Iterable<R>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

expand<R>(Iterable<R> toElements(E element)) Iterable<R>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

fillRange(int start, int end, [E? fillValue]) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

firstWhere(bool test(E element), {E orElse()?}) → E

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

firstWhere(bool test(E element), {E orElse()?}) → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

floor() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.
floor() int

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the greatest integer no greater than this number.
floor() int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The greatest integer no greater than this number.
floorToDouble() double

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.toDouble().
floorToDouble() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the greatest integer double value no greater than this.
floorToDouble() double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Returns the greatest double integer value no greater than this.
fold<R>(R initialValue, R combine(R previousValue, E element)) → R

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

fold<R>(R initialValue, R combine(R previousValue, E element)) → R

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

followedBy(Iterable<E> other) Iterable<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

followedBy(Iterable<E> other) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

forEach(void action(E element)) → void

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

forEach(void action(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

gcd(int other) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the greatest common divisor of this integer and other.
get() → T
Helper method to get the current value
inherited
getRange(int start, int end) Iterable<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

indexOf(E element, [int start = 0]) int

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

indexOf(Pattern pattern, [int start = 0]) int

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Returns the position of the first match of pattern in this string, starting at start, inclusive:
indexWhere(bool test(E element), [int start = 0]) int

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

insert(int index, E element) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

insertAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

internalRefresh() bool
inherited
intersection(Set<Object?> other) Set<E>

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

join([String separator = ""]) String

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

lastIndexOf(E element, [int? start]) int

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

lastIndexOf(Pattern pattern, [int? start]) int

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The starting position of the last match pattern in this string.
lastIndexWhere(bool test(E element), [int? start]) int

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

lastWhere(bool test(E element), {E orElse()?}) → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

lookup(Object? object) → E?

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

map<K2, V2>(MapEntry<K2, V2> convert(K key, V value)) Map<K2, V2>

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

map<R>(R toElement(E e)) Iterable<R>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

matchAsPrefix(String string, [int start = 0]) Match?

Available on ReadonlySignal<Pattern>, provided by the PatternSignalExtension extension

Matches this pattern against the start of string.
modInverse(int modulus) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the modular multiplicative inverse of this integer modulo modulus.
modPow(int exponent, int modulus) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this integer to the power of exponent modulo modulus.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onDispose(void cleanup()) → void Function()
Add a cleanup function to be called when the signal is disposed
inherited
overrideWith(T val) Signal<T>
Override the current signal with a new value as if it was created with it
inherited
padLeft(int width, [String padding = ' ']) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Pads this string on the left if it is shorter than width.
padRight(int width, [String padding = ' ']) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Pads this string on the right if it is shorter than width.
peek() → T
In the rare instance that you have an effect that should write to another signal based on the previous value, but you don't want the effect to be subscribed to that signal, you can read a signals's previous value via signal.peek().
inherited
putIfAbsent(K key, V ifAbsent()) → V

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

readonly() ReadonlySignal<T>
Returns a readonly signal
inherited
reduce(E combine(E value, E element)) → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

remainder(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

remainder(num other) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The remainder of the truncating division of this by other.
remove(Object? value) bool

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

remove(Object? value) bool

Available on Signal<List<E>>, provided by the ListSignalExtension extension

remove(Object? key) → V?

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

removeAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

removeAt(int index) → E

Available on Signal<List<E>>, provided by the ListSignalExtension extension

removeLast() → E

Available on Signal<List<E>>, provided by the ListSignalExtension extension

removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
removeRange(int start, int end) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

removeWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

removeWhere(bool test(E element)) → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

removeWhere(bool test(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

replaceAll(Pattern from, String replace) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Replaces all substrings that match from with replace.
replaceAllMapped(Pattern from, String replace(Match match)) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Replace all substrings that match from by a computed string.
replaceFirst(Pattern from, String to, [int startIndex = 0]) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Creates a new string with the first occurrence of from replaced by to.
replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Replace the first occurrence of from in this string.
replaceRange(int start, int end, Iterable<E> replacements) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

replaceRange(int start, int? end, String replacement) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Replaces the substring from start to end with replacement.
retainAll(Iterable<Object?> elements) → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

retainWhere(bool test(E element)) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

retainWhere(bool test(E element)) → void

Available on Signal<Set<E>>, provided by the SetSignalExtension extension

round() int

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the integer closest to this number.
round() int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The integer closest to this number.
round() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.
roundToDouble() double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The double integer value closest to this value.
roundToDouble() double

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.toDouble().
roundToDouble() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the integer double value closest to this.
select<R>(R selector(ReadonlySignal<T>), {bool? autoDispose = false, String? debugLabel}) Computed<R>

Available on ReadonlySignal<T>, provided by the ReadonlySignalUtils extension

Select a value and return a computed signal to listen for changes
selectData<R>(R selector(T data)) Computed<AsyncState<R>>

Available on Signal<AsyncState<T>>, provided by the AsyncSignalState extension

Select from data when available, preserving async state
set(T val, {bool force = false}) bool
Set the current value by a method
inherited
setAll(int index, Iterable<E> iterable) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

shuffle([Random? random]) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

singleWhere(bool test(E element), {E orElse()?}) → E

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

skip(int count) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

skipWhile(bool test(E value)) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

sort([int compare(E a, E b)?]) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

sorted([int compare(E a, E b)?]) List<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

Return a new array that is sorted by the compare function
split(Pattern pattern) List<String>

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Splits the string at matches of pattern and returns a list of substrings.
splitMapJoin(Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Splits the string, converts its parts, and combines them into a new string.
startsWith(Pattern pattern, [int index = 0]) bool

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Whether this string starts with a match of pattern.
sublist(int start, [int? end]) List<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

subscribe(void fn(T value)) → void Function()
Subscribe to value changes with a dispose function
inherited
subscribeToNode(Node node) → void
inherited
substring(int start, [int? end]) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The substring of this string from start, inclusive, to end, exclusive.
take(int count) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

takeWhile(bool test(E value)) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

toDouble() double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

This number as a double.
toInt() int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Truncates this num to an integer and returns the result as an int.
toJson() → dynamic
Convert value to JSON
inherited
toList({bool growable = true}) List<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

toLowerCase() String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Converts all characters in this string to lower case.
toRadixString(int radix) String

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Converts this int to a string representation in the given radix.
toSet() Set<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

toSignal({String? debugLabel, bool autoDispose = false}) ReadonlySignal<T>

Available on ValueListenable<T>, provided by the SignalValueListenableUtils extension

SignalValueNotifier
toSignal({String? debugLabel, bool autoDispose = false}) Signal<T>

Available on ValueNotifier<T>, provided by the SignalValueNotifierUtils extension

SignalValueNotifier
toSigned(int width) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the least significant width bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit in width bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher than width.
toStream() Stream<T>

Available on ReadonlySignal<T>, provided by the ReadonlySignalUtils extension

Convert a signal to a Stream to be consumed as a read only stream.
toString() String
A string representation of this object.
inherited
toStringAsExponential([int? fractionDigits]) String

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

An exponential string-representation of this number.
toStringAsFixed(int fractionDigits) String

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

A decimal-point string-representation of this number.
toStringAsPrecision(int precision) String

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

A string representation with precision significant digits.
toUnsigned(int width) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns the least significant width bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher than width.
toUpperCase() String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Converts all characters in this string to upper case.
trim() String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The string without any leading and trailing whitespace.
trimLeft() String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The string without any leading whitespace.
trimRight() String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The string without any trailing whitespace.
truncate() int

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the integer obtained by discarding any fractional part of this number.
truncate() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.
truncate() int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The integer obtained by discarding any fractional digits from this.
truncateToDouble() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

Returns the integer double value obtained by discarding any fractional digits from this.
truncateToDouble() double

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Returns this.toDouble().
truncateToDouble() double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Returns the double integer value obtained by discarding any fractional digits from the double value of this.
union(Set<E> other) Set<E>

Available on ReadonlySignal<Set<E>>, provided by the ReadonlySetSignalExtension extension

unsubscribeFromNode(Node node) → void
inherited
unwatch(BuildContext context) → void

Available on ReadonlySignal<T>, provided by the FlutterReadonlySignalUtils extension

Stop subscriptions to updates on a signal for watchers
update(K key, V update(V value), {V ifAbsent()?}) → V

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

updateAll(V update(K key, V value)) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

watch(BuildContext context, {String? debugLabel}) → T

Available on ReadonlySignal<T>, provided by the FlutterReadonlySignalUtils extension

Rebuild the Element that the current signal is inside of
where(bool test(E element)) Iterable<E>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

whereType<R>() Iterable<R>

Available on ReadonlySignal<Iterable<E>>, provided by the ReadonlyIterableSignalExtension extension

Operators

operator %(num other) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Euclidean modulo of this number by other.
operator %(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator &(int other) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Bit-wise and operator.
operator &(bool other) bool

Available on ReadonlySignal<bool>, provided by the BoolSignalExtension extension

The logical conjunction ("and") of this and other.
operator *(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator *(num other) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Multiplies this number by other.
operator *(int times) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Creates a new string by concatenating this string with itself a number of times.
operator +(String other) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

Creates a new string by concatenating this string with other.
operator +(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator +(num other) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Adds other to this number.
operator +(List<E> other) List<E>

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

operator -(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator -(num other) num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Subtracts other from this number.
operator /(num other) double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator /(num other) double

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Divides this number by other.
operator <(num other) bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is numerically smaller than other.
operator <<(int shiftAmount) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Shift the bits of this integer to the left by shiftAmount.
operator <=(num other) bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is numerically smaller than or equal to other.
operator ==(Object other) bool
The equality operator.
inherited
operator >(num other) bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is numerically greater than other.
operator >=(num other) bool

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Whether this number is numerically greater than or equal to other.
operator >>(int shiftAmount) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Shift the bits of this integer to the right by shiftAmount.
operator >>>(int shiftAmount) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Bitwise unsigned right shift by shiftAmount bits.
operator [](int index) String

Available on ReadonlySignal<String>, provided by the StringSignalExtension extension

The character (as a single-code-unit String) at the given index.
operator [](Object? key) → V?

Available on ReadonlySignal<Map<K, V>>, provided by the ReadonlyMapSignalExtension extension

operator [](int index) → E

Available on ReadonlySignal<List<E>>, provided by the ReadonlyListSignalExtension extension

operator []=(int index, E value) → void

Available on Signal<List<E>>, provided by the ListSignalExtension extension

operator []=(K key, V value) → void

Available on Signal<Map<K, V>>, provided by the MapSignalExtension extension

operator ^(bool other) bool

Available on ReadonlySignal<bool>, provided by the BoolSignalExtension extension

The logical exclusive disjunction ("exclusive or") of this and other.
operator ^(int other) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Bit-wise exclusive-or operator.
operator unary-() double

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension

operator unary-() num

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

The negation of this value.
operator unary-() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Return the negative value of this integer.
operator |(bool other) bool

Available on ReadonlySignal<bool>, provided by the BoolSignalExtension extension

The logical disjunction ("inclusive or") of this and other.
operator |(int other) int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

Bit-wise or operator.
operator ~() int

Available on ReadonlySignal<int>, provided by the IntSignalExtension extension

The bit-wise negate operator.
operator ~/(num other) int

Available on ReadonlySignal<num>, provided by the NumSignalExtension extension

Truncating division operator.
operator ~/(num other) int

Available on ReadonlySignal<double>, provided by the DoubleSignalExtension extension