ActiveNullableBool class

ActiveNullableBool ordinary dart bool object. When an update is done an ActiveStateChanged event is triggered which in-turn makes a UI rebuild of that widget.

Has similar characteristics as bool and The value can exist as null

Inheritance

Constructors

ActiveNullableBool.new({bool? value, String? typeName})

Properties

activeController ActiveController
Returns the instance of the ActiveController this property is associated with.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isFalse bool
Whether the underlying value is not null and false
no setter
isNotNull bool
Returns true if the value of this is not null.
no setterinherited
isNull bool
Returns true if the value of this is null.
no setterinherited
isTrue bool
Whether the underlying value is not null and true
no setter
mockValue bool?
no setterinherited
originalValue bool?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String?
getter/setter pairinherited
value bool?
no setterinherited

Methods

call(bool? value, {bool notifyChange = true, bool setAsOriginal = false}) → void
Updates the underlying value for this ActiveType.
inherited
equals(dynamic other) bool
Checks if other is equal to the value of this ActiveType
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset({bool notifyChange = true}) → void
Resets the value to the originalValue.
inherited
set(bool? value, {bool notifyChange = true, bool setAsOriginal = false}) bool?
Updates the property value. Notifies any listeners to the change
inherited
setActiveController(ActiveController activeController) → void
Links this ActiveType instance with an ActiveController.
inherited
setFalse({bool notifyChange = true}) → void
Sets the value to false
setNull({bool notifyChange = true}) → void
Sets the value to null
setOriginalValueToCurrent() → void
Updates the original value to what the current value of this property is.
inherited
setTrue({bool notifyChange = true}) → void
Sets the value to true
toString() String
A string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator.
inherited