FlutterReadonlySignal<T> class
abstract
Simple writeable single
- Inheritance
-
- Object
- ReadonlySignal<
T> - FlutterReadonlySignal
- Implemented types
- Mixed-in types
- Available extensions
- BoolSignalExtension
- ComparableSignalExtension
- DoubleSignalExtension
- EnumSignalExtension
- FlutterReadonlySignalUtils
- IntSignalExtension
- NumSignalExtension
- PatternSignalExtension
- ReadonlyIterableSignalExtension
- ReadonlyListSignalExtension
- ReadonlyMapSignalExtension
- ReadonlySetSignalExtension
- ReadonlySignalUntrackedValueUtils
- ReadonlySignalUtils
- SignalValueListenableUtils
- StringSignalExtension
Constructors
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<
Returns the minimum number of bits required to store this integer.int> , provided by the IntSignalExtension extensionno setter -
codeUnits
→ List<
int> -
Available on ReadonlySignal<
An unmodifiable list of the UTF-16 code units of this string.String> , provided by the StringSignalExtension extensionno setter - debugLabel → String?
-
Debug label for Debug Mode
no setterinherited
- disposed ↔ bool
-
Check if the effect is disposed
getter/setter pairinherited
-
entries
→ Iterable<
MapEntry< K, V> > -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter - first → E
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - globalId → int
-
Global ID of the signal
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
Available on ReadonlySignal<
A numeric identifier for the enumerated value.Enum> , provided by the EnumSignalExtension extensionno setter - isEmpty → bool
-
Available on ReadonlySignal<
Whether this string is empty.String> , provided by the StringSignalExtension extensionno setter - isEmpty → bool
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - isEmpty → bool
-
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter - isEven → bool
-
Available on ReadonlySignal<
Returns true if and only if this integer is even.int> , provided by the IntSignalExtension extensionno setter - isFinite → bool
-
Available on ReadonlySignal<
Whether this number is finite.num> , provided by the NumSignalExtension extensionno setter - isInfinite → bool
-
Available on ReadonlySignal<
Whether this number is positive infinity or negative infinity.num> , provided by the NumSignalExtension extensionno setter - isInitialized → bool
-
Check if a signal value is set (does not subscribe)
no setterinherited
- isNaN → bool
-
Available on ReadonlySignal<
Whether this number is a Not-a-Number value.num> , provided by the NumSignalExtension extensionno setter - isNegative → bool
-
Available on ReadonlySignal<
Whether this number is negative.num> , provided by the NumSignalExtension extensionno setter - isNotEmpty → bool
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - isNotEmpty → bool
-
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter - isNotEmpty → bool
-
Available on ReadonlySignal<
Whether this string is not empty.String> , provided by the StringSignalExtension extensionno setter - isOdd → bool
-
Available on ReadonlySignal<
Returns true if and only if this integer is odd.int> , provided by the IntSignalExtension extensionno setter -
iterator
→ Iterator<
E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter -
keys
→ Iterable<
K> -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter - last → E
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - last → E
-
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> >no setter - length → int
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - length → int
-
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter - length → int
-
Available on ReadonlySignal<
The length of the string.String> , provided by the StringSignalExtension extensionno setter - name → String
-
Available on ReadonlySignal<
The name of the enum value.Enum> , provided by the EnumSignalExtension extensionno setter -
reversed
→ Iterable<
E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> >no setter - runCallbackOnListen → bool
-
If true, the callback will be run when the listener is added
no setterinherited
- runes → Runes
-
Available on ReadonlySignal<
An Iterable of Unicode code-points of this string.String> , provided by the StringSignalExtension extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sign → double
-
Available on ReadonlySignal<
The sign of the double's numerical value.double> , provided by the DoubleSignalExtension extensionno setter - sign → int
-
Available on ReadonlySignal<
Returns the sign of this integer.int> , provided by the IntSignalExtension extensionno setter - sign → num
-
Available on ReadonlySignal<
Negative one, zero or positive one depending on the sign and numerical value of this number.num> , provided by the NumSignalExtension extensionno setter - single → E
-
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >no setter - untrackedValue → T
-
Available on ReadonlySignal<
Runs a callback function that returns the signal value without subscribing to the signal updates.T> , provided by the ReadonlySignalUntrackedValueUtils extensionno setter - value → T
-
Compute the current value
no setterinherited
-
values
→ Iterable<
V> -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> >no setter
Methods
-
abs(
) → num -
Available on ReadonlySignal<
The absolute value of this number.num> , provided by the NumSignalExtension extension -
abs(
) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
abs(
) → int -
Available on ReadonlySignal<
Returns the absolute value of this integer.int> , provided by the IntSignalExtension extension -
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object notifies its listeners.
inherited
-
allMatches(
String string, [int start = 0]) → Iterable< Match> -
Available on ReadonlySignal<
Matches this pattern against the string repeatedly.Pattern> , provided by the PatternSignalExtension extension -
any(
bool test(E element)) → bool -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
asMap(
) → Map< int, E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
call(
) → T -
Return the value when invoked
inherited
-
cast<
R> () → Set< R> -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
cast<
R> () → List< R> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
cast<
R> () → Iterable< R> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
cast<
RK, RV> () → Map< RK, RV> -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> > -
ceil(
) → int -
Available on ReadonlySignal<
The least integer no smaller thannum> , provided by the NumSignalExtension extensionthis
. -
ceil(
) → int -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis
. -
ceil(
) → int -
Available on ReadonlySignal<
Returns the least integer that is not smaller than this number.double> , provided by the DoubleSignalExtension extension -
ceilToDouble(
) → double -
Available on ReadonlySignal<
Returns the least double integer value no smaller thannum> , provided by the NumSignalExtension extensionthis
. -
ceilToDouble(
) → double -
Available on ReadonlySignal<
Returns the least integer double value no smaller thandouble> , provided by the DoubleSignalExtension extensionthis
. -
ceilToDouble(
) → double -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis.toDouble()
. -
clamp(
num lowerLimit, num upperLimit) → num -
Available on ReadonlySignal<
Returns this num clamped to be in the rangenum> , provided by the NumSignalExtension extensionlowerLimit
-upperLimit
. -
codeUnitAt(
int index) → int -
Available on ReadonlySignal<
Returns the 16-bit UTF-16 code unit at the givenString> , provided by the StringSignalExtension extensionindex
. -
compareTo(
T other) → int -
Available on ReadonlySignal<
Compares this object to another object.T> , provided by the ComparableSignalExtension extension -
contains(
Pattern other, [int startIndex = 0]) → bool -
Available on ReadonlySignal<
Whether this string contains a match ofString> , provided by the StringSignalExtension extensionother
. -
contains(
Object? value) → bool -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
containsAll(
Iterable< Object?> other) → bool -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
containsKey(
Object? key) → bool -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> > -
containsValue(
Object? value) → bool -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> > -
difference(
Set< Object?> other) → Set<E> -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
dispose(
) → void -
Dispose the signal
inherited
-
elementAt(
int index) → E -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
endsWith(
String other) → bool -
Available on ReadonlySignal<
Whether this string ends withString> , provided by the StringSignalExtension extensionother
. -
every(
bool test(E element)) → bool -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
expand<
R> (Iterable< R> toElements(E element)) → Iterable<R> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
expand<
R> (Iterable< R> toElements(E element)) → Iterable<R> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
firstWhere(
bool test(E element), {E orElse()?}) → E -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
firstWhere(
bool test(E element), {E orElse()?}) → E -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
floor(
) → int -
Available on ReadonlySignal<
The greatest integer no greater than this number.num> , provided by the NumSignalExtension extension -
floor(
) → int -
Available on ReadonlySignal<
Returns the greatest integer no greater than this number.double> , provided by the DoubleSignalExtension extension -
floor(
) → int -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis
. -
floorToDouble(
) → double -
Available on ReadonlySignal<
Returns the greatest integer double value no greater thandouble> , provided by the DoubleSignalExtension extensionthis
. -
floorToDouble(
) → double -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis.toDouble()
. -
floorToDouble(
) → double -
Available on ReadonlySignal<
Returns the greatest double integer value no greater thannum> , provided by the NumSignalExtension extensionthis
. -
fold<
R> (R initialValue, R combine(R previousValue, E element)) → R -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
fold<
R> (R initialValue, R combine(R previousValue, E element)) → R -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
followedBy(
Iterable< E> other) → Iterable<E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
followedBy(
Iterable< E> other) → Iterable<E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
forEach(
void action(E element)) → void -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
gcd(
int other) → int -
Available on ReadonlySignal<
Returns the greatest common divisor of this integer andint> , provided by the IntSignalExtension extensionother
. -
get(
) → T -
Helper method to get the current value
inherited
-
getRange(
int start, int end) → Iterable< E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
indexOf(
E element, [int start = 0]) → int -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
indexOf(
Pattern pattern, [int start = 0]) → int -
Available on ReadonlySignal<
Returns the position of the first match ofString> , provided by the StringSignalExtension extensionpattern
in this string, starting atstart
, inclusive: -
indexWhere(
bool test(E element), [int start = 0]) → int -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
intersection(
Set< Object?> other) → Set<E> -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
join(
[String separator = ""]) → String -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
lastIndexOf(
E element, [int? start]) → int -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
lastIndexOf(
Pattern pattern, [int? start]) → int -
Available on ReadonlySignal<
The starting position of the last matchString> , provided by the StringSignalExtension extensionpattern
in this string. -
lastIndexWhere(
bool test(E element), [int? start]) → int -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
lastWhere(
bool test(E element), {E orElse()?}) → E -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
lookup(
Object? object) → E? -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
map<
K2, V2> (MapEntry< K2, V2> convert(K key, V value)) → Map<K2, V2> -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> > -
map<
R> (R toElement(E e)) → Iterable< R> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
matchAsPrefix(
String string, [int start = 0]) → Match? -
Available on ReadonlySignal<
Matches this pattern against the start ofPattern> , provided by the PatternSignalExtension extensionstring
. -
modInverse(
int modulus) → int -
Available on ReadonlySignal<
Returns the modular multiplicative inverse of this integer moduloint> , provided by the IntSignalExtension extensionmodulus
. -
modPow(
int exponent, int modulus) → int -
Available on ReadonlySignal<
Returns this integer to the power ofint> , provided by the IntSignalExtension extensionexponent
modulomodulus
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispose(
void cleanup()) → void Function() -
Add a cleanup function to be called when the signal is disposed
inherited
-
padLeft(
int width, [String padding = ' ']) → String -
Available on ReadonlySignal<
Pads this string on the left if it is shorter thanString> , provided by the StringSignalExtension extensionwidth
. -
padRight(
int width, [String padding = ' ']) → String -
Available on ReadonlySignal<
Pads this string on the right if it is shorter thanString> , provided by the StringSignalExtension extensionwidth
. -
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 -
reduce(
E combine(E value, E element)) → E -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
remainder(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
remainder(
num other) → num -
Available on ReadonlySignal<
The remainder of the truncating division ofnum> , provided by the NumSignalExtension extensionthis
byother
. -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
replaceAll(
Pattern from, String replace) → String -
Available on ReadonlySignal<
Replaces all substrings that matchString> , provided by the StringSignalExtension extensionfrom
withreplace
. -
replaceAllMapped(
Pattern from, String replace(Match match)) → String -
Available on ReadonlySignal<
Replace all substrings that matchString> , provided by the StringSignalExtension extensionfrom
by a computed string. -
replaceFirst(
Pattern from, String to, [int startIndex = 0]) → String -
Available on ReadonlySignal<
Creates a new string with the first occurrence ofString> , provided by the StringSignalExtension extensionfrom
replaced byto
. -
replaceFirstMapped(
Pattern from, String replace(Match match), [int startIndex = 0]) → String -
Available on ReadonlySignal<
Replace the first occurrence ofString> , provided by the StringSignalExtension extensionfrom
in this string. -
replaceRange(
int start, int? end, String replacement) → String -
Available on ReadonlySignal<
Replaces the substring fromString> , provided by the StringSignalExtension extensionstart
toend
withreplacement
. -
round(
) → int -
Available on ReadonlySignal<
Returns the integer closest to this number.double> , provided by the DoubleSignalExtension extension -
round(
) → int -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis
. -
round(
) → int -
Available on ReadonlySignal<
The integer closest to this number.num> , provided by the NumSignalExtension extension -
roundToDouble(
) → double -
Available on ReadonlySignal<
Returns the integer double value closest todouble> , provided by the DoubleSignalExtension extensionthis
. -
roundToDouble(
) → double -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis.toDouble()
. -
roundToDouble(
) → double -
Available on ReadonlySignal<
The double integer value closest to this value.num> , provided by the NumSignalExtension extension -
select<
R> (R selector(ReadonlySignal< T> ), {bool? autoDispose = false, String? debugLabel}) → Computed<R> -
Available on ReadonlySignal<
Select a value and return a computed signal to listen for changesT> , provided by the ReadonlySignalUtils extension -
singleWhere(
bool test(E element), {E orElse()?}) → E -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
skip(
int count) → Iterable< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
skipWhile(
bool test(E value)) → Iterable< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
sorted(
[int compare(E a, E b)?]) → List< E> -
Available on ReadonlySignal<
Return a new array that is sorted by theList< , provided by the ReadonlyListSignalExtension extensionE> >compare
function -
split(
Pattern pattern) → List< String> -
Available on ReadonlySignal<
Splits the string at matches ofString> , provided by the StringSignalExtension extensionpattern
and returns a list of substrings. -
splitMapJoin(
Pattern pattern, {String onMatch(Match)?, String onNonMatch(String)?}) → String -
Available on ReadonlySignal<
Splits the string, converts its parts, and combines them into a new string.String> , provided by the StringSignalExtension extension -
startsWith(
Pattern pattern, [int index = 0]) → bool -
Available on ReadonlySignal<
Whether this string starts with a match ofString> , provided by the StringSignalExtension extensionpattern
. -
sublist(
int start, [int? end]) → List< E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
subscribe(
void fn(T value)) → void Function() -
Subscribe to value changes with a dispose function
inherited
-
substring(
int start, [int? end]) → String -
Available on ReadonlySignal<
The substring of this string fromString> , provided by the StringSignalExtension extensionstart
, inclusive, toend
, exclusive. -
take(
int count) → Iterable< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
takeWhile(
bool test(E value)) → Iterable< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
toDouble(
) → double -
Available on ReadonlySignal<
This number as a double.num> , provided by the NumSignalExtension extension -
toInt(
) → int -
Available on ReadonlySignal<
Truncates this num to an integer and returns the result as an int.num> , provided by the NumSignalExtension extension -
toJson(
) → dynamic -
Convert value to JSON
inherited
-
toList(
{bool growable = true}) → List< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
toLowerCase(
) → String -
Available on ReadonlySignal<
Converts all characters in this string to lower case.String> , provided by the StringSignalExtension extension -
toRadixString(
int radix) → String -
Available on ReadonlySignal<
Converts this int to a string representation in the givenint> , provided by the IntSignalExtension extensionradix
. -
toSet(
) → Set< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
toSignal(
{String? debugLabel, bool autoDispose = false}) → ReadonlySignal< T> -
Available on ValueListenable<
SignalValueNotifierT> , provided by the SignalValueListenableUtils extension -
toSigned(
int width) → int -
Available on ReadonlySignal<
Returns the least significantint> , provided by the IntSignalExtension extensionwidth
bits of this integer, extending the highest retained bit to the sign. This is the same as truncating the value to fit inwidth
bits using an signed 2-s complement representation. The returned value has the same bit value in all positions higher thanwidth
. -
toStream(
) → Stream< T> -
Available on ReadonlySignal<
Convert a signal to a Stream to be consumed as a read only stream.T> , provided by the ReadonlySignalUtils extension -
toString(
) → String -
A string representation of this object.
inherited
-
toStringAsExponential(
[int? fractionDigits]) → String -
Available on ReadonlySignal<
An exponential string-representation of this number.num> , provided by the NumSignalExtension extension -
toStringAsFixed(
int fractionDigits) → String -
Available on ReadonlySignal<
A decimal-point string-representation of this number.num> , provided by the NumSignalExtension extension -
toStringAsPrecision(
int precision) → String -
Available on ReadonlySignal<
A string representation withnum> , provided by the NumSignalExtension extensionprecision
significant digits. -
toUnsigned(
int width) → int -
Available on ReadonlySignal<
Returns the least significantint> , provided by the IntSignalExtension extensionwidth
bits of this integer as a non-negative number (i.e. unsigned representation). The returned value has zeros in all bit positions higher thanwidth
. -
toUpperCase(
) → String -
Available on ReadonlySignal<
Converts all characters in this string to upper case.String> , provided by the StringSignalExtension extension -
trim(
) → String -
Available on ReadonlySignal<
The string without any leading and trailing whitespace.String> , provided by the StringSignalExtension extension -
trimLeft(
) → String -
Available on ReadonlySignal<
The string without any leading whitespace.String> , provided by the StringSignalExtension extension -
trimRight(
) → String -
Available on ReadonlySignal<
The string without any trailing whitespace.String> , provided by the StringSignalExtension extension -
truncate(
) → int -
Available on ReadonlySignal<
The integer obtained by discarding any fractional digits fromnum> , provided by the NumSignalExtension extensionthis
. -
truncate(
) → int -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis
. -
truncate(
) → int -
Available on ReadonlySignal<
Returns the integer obtained by discarding any fractional part of this number.double> , provided by the DoubleSignalExtension extension -
truncateToDouble(
) → double -
Available on ReadonlySignal<
Returns the integer double value obtained by discarding any fractional digits fromdouble> , provided by the DoubleSignalExtension extensionthis
. -
truncateToDouble(
) → double -
Available on ReadonlySignal<
Returns the double integer value obtained by discarding any fractional digits from the double value ofnum> , provided by the NumSignalExtension extensionthis
. -
truncateToDouble(
) → double -
Available on ReadonlySignal<
Returnsint> , provided by the IntSignalExtension extensionthis.toDouble()
. -
union(
Set< E> other) → Set<E> -
Available on ReadonlySignal<
Set< , provided by the ReadonlySetSignalExtension extensionE> > -
unwatch(
BuildContext context) → void -
Available on ReadonlySignal<
Stop subscriptions to updates on a signal for watchersT> , provided by the FlutterReadonlySignalUtils extension -
watch(
BuildContext context, {String? debugLabel}) → T -
Available on ReadonlySignal<
Rebuild the Element that the current signal is inside ofT> , provided by the FlutterReadonlySignalUtils extension -
where(
bool test(E element)) → Iterable< E> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> > -
whereType<
R> () → Iterable< R> -
Available on ReadonlySignal<
Iterable< , provided by the ReadonlyIterableSignalExtension extensionE> >
Operators
-
operator %(
num other) → num -
Available on ReadonlySignal<
Euclidean modulo of this number bynum> , provided by the NumSignalExtension extensionother
. -
operator %(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator &(
bool other) → bool -
Available on ReadonlySignal<
The logical conjunction ("and") of this andbool> , provided by the BoolSignalExtension extensionother
. -
operator &(
int other) → int -
Available on ReadonlySignal<
Bit-wise and operator.int> , provided by the IntSignalExtension extension -
operator *(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator *(
int times) → String -
Available on ReadonlySignal<
Creates a new string by concatenating this string with itself a number of times.String> , provided by the StringSignalExtension extension -
operator *(
num other) → num -
Available on ReadonlySignal<
Multiplies this number bynum> , provided by the NumSignalExtension extensionother
. -
operator +(
String other) → String -
Available on ReadonlySignal<
Creates a new string by concatenating this string withString> , provided by the StringSignalExtension extensionother
. -
operator +(
List< E> other) → List<E> -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
operator +(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator +(
num other) → num -
Available on ReadonlySignal<
Addsnum> , provided by the NumSignalExtension extensionother
to this number. -
operator -(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator -(
num other) → num -
Available on ReadonlySignal<
Subtractsnum> , provided by the NumSignalExtension extensionother
from this number. -
operator /(
num other) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator /(
num other) → double -
Available on ReadonlySignal<
Divides this number bynum> , provided by the NumSignalExtension extensionother
. -
operator <(
num other) → bool -
Available on ReadonlySignal<
Whether this number is numerically smaller thannum> , provided by the NumSignalExtension extensionother
. -
operator <<(
int shiftAmount) → int -
Available on ReadonlySignal<
Shift the bits of this integer to the left byint> , provided by the IntSignalExtension extensionshiftAmount
. -
operator <=(
num other) → bool -
Available on ReadonlySignal<
Whether this number is numerically smaller than or equal tonum> , provided by the NumSignalExtension extensionother
. -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
num other) → bool -
Available on ReadonlySignal<
Whether this number is numerically greater thannum> , provided by the NumSignalExtension extensionother
. -
operator >=(
num other) → bool -
Available on ReadonlySignal<
Whether this number is numerically greater than or equal tonum> , provided by the NumSignalExtension extensionother
. -
operator >>(
int shiftAmount) → int -
Available on ReadonlySignal<
Shift the bits of this integer to the right byint> , provided by the IntSignalExtension extensionshiftAmount
. -
operator >>>(
int shiftAmount) → int -
Available on ReadonlySignal<
Bitwise unsigned right shift byint> , provided by the IntSignalExtension extensionshiftAmount
bits. -
operator [](
int index) → E -
Available on ReadonlySignal<
List< , provided by the ReadonlyListSignalExtension extensionE> > -
operator [](
Object? key) → V? -
Available on ReadonlySignal<
Map< , provided by the ReadonlyMapSignalExtension extensionK, V> > -
operator [](
int index) → String -
Available on ReadonlySignal<
The character (as a single-code-unit String) at the givenString> , provided by the StringSignalExtension extensionindex
. -
operator ^(
int other) → int -
Available on ReadonlySignal<
Bit-wise exclusive-or operator.int> , provided by the IntSignalExtension extension -
operator ^(
bool other) → bool -
Available on ReadonlySignal<
The logical exclusive disjunction ("exclusive or") of this andbool> , provided by the BoolSignalExtension extensionother
. -
operator unary-(
) → num -
Available on ReadonlySignal<
The negation of this value.num> , provided by the NumSignalExtension extension -
operator unary-(
) → double -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension -
operator unary-(
) → int -
Available on ReadonlySignal<
Return the negative value of this integer.int> , provided by the IntSignalExtension extension -
operator |(
int other) → int -
Available on ReadonlySignal<
Bit-wise or operator.int> , provided by the IntSignalExtension extension -
operator |(
bool other) → bool -
Available on ReadonlySignal<
The logical disjunction ("inclusive or") of this andbool> , provided by the BoolSignalExtension extensionother
. -
operator ~(
) → int -
Available on ReadonlySignal<
The bit-wise negate operator.int> , provided by the IntSignalExtension extension -
operator ~/(
num other) → int -
Available on ReadonlySignal<
Truncating division operator.num> , provided by the NumSignalExtension extension -
operator ~/(
num other) → int -
Available on ReadonlySignal<
double> , provided by the DoubleSignalExtension extension