simple_property_observer library Null safety

Including property observable mixin and metadata.

Classes

PropertyChangedInfo<T>
Information of property changes.
PropertyObservableMetadata
Metadata class for the constant propertyObservable.

Mixins

PropertyObservable
Mixin for property-observing pattern.

Constants

observable → const _ObservableMetadata
Metadata for a getter that can be observed.
const _ObservableMetadata(false)
observableWithPrivateSetter → const _ObservableMetadata
Metadata for a getter that can be observed.
const _ObservableMetadata(true)
propertyObservable → const PropertyObservableMetadata
Metadata for classes including auto generated observable properties.

Typedefs

PropertyChangedCallback = void Function(PropertyChangedInfo info)
The function type that is called when a property changes.