Streamxx_c<T> class
Constructors
-
Streamxx_c({required T value, bool checkModify = false, List<
StreamxxListener_c< ? listeners})T> > -
value
初始值listeners
-
Streamxx_c.listener({required T value, bool checkModify = false, List<
StreamxxListener_c< ? listeners, List<T> >void Function(T data, bool? hasModify)> ? onActiveFunList})
Properties
- checkModify → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasNotify → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
getter/setter pair
Methods
-
addListener(
void onActive(T value, bool? hasModify), {bool hasModify(T oldData, T newData)?, bool onlyNotifyWhenModify = true}) → StreamxxListener_c< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
T in_value, {bool? in_modify}) → void - 写入新值,发送通知
-
reflush(
{bool hasModify = false}) → void - 发送通知,但值仍为本身
-
removeListener(
StreamxxListener_c? item) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited