PreDelegatingAspect<T> mixin
- Superclass constraints
- Available extensions
Properties
- debugLabel → String?
-
Debug-mode label for this aspect
finalinherited
-
delegate
→ InheritableAspect<
T> -
InheritableAspect which is responsible for handling all invocations,
unless overridden.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Uniquely identifying local key for this aspect.
This used by hashCode and ==. This allows InheritableAspect implementations to
accept and hold closures in object instances and still have a unique
object identity.
no setterinherited
-
listenable
→ _ListenableAspect<
T> -
Available on InheritableAspect<
Create a ValueListenable implementation of InheritableAspect that overrides theT> , provided by the ListenableAspect extensionInheritableAspect.shouldNotify
ofthis
to notify it's listeners without causing a build for enclosing BuildContextno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ _ValueAspect<
T> -
Available on InheritableAspect<
Create an InheritableAspect that overrides the InheritableAspect.of implementation ofT> , provided by the ValueAspect extensionthis
to return value ofT
no setter
Methods
-
by(
InheritableAspectSatisfied< T> fn) → InheritableAspect<T> -
Available on InheritableAspect<
Add a pre-condition to choosing the correct Inheritable ofT> , provided by the ByPredicateAspect extensionT
when are multiple Inheritable ofT
in the enclosing context. -
clone(
{Key? key, InheritableAspect< T> ? delegate}) → DelegatingAspect<T> -
Create a new instance of
this
aspect with the specified fields replaced.inherited -
cloneDelegate(
{Key? key, InheritableAspect< T> ? replacement}) → InheritableAspect<T> -
Convenience method to create a new copy of delegate with key. This is
useful in clone implementations where
key
is always delegated to delegate.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of(
BuildContext context, {bool rebuild = true}) → Object? -
Convenience method for when an InheritableAspect is already known.
inherited
-
predicate(
Inheritable< T> inheritable) → bool -
Predicate that is given priority over
delegate.satisfiedBy
-
replace(
T next) → AspectMutation< T> -
Available on InheritableAspect<
Creates an AspectMutation that unconditionally requestsT> , provided by the ReplaceMutableInheritable extensionT
to be replaced bynext
. -
satisfiedBy(
Inheritable< T> inheritable) → bool -
Specify whether given
inheritable
satisfies this aspect.override -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited