ReferenceResolver class

Resolves values based on the host config.

Constructors

ReferenceResolver({required Map<String, dynamic> hostConfig, String? currentStyle})

Properties

currentStyle String?
final
hashCode int
The hash code for this object.
no setterinherited
hostConfig Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? style}) ReferenceResolver
get(String key) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(String key, String value) → dynamic
resolveColor(String? color, bool? isSubtle) Color
Resolves a color from the host config
resolveElevation(String? value) double
resolveFontSize(String? value) double
resolveFontWeight(String? value) FontWeight
resolveSpacing(String? spacing) double
toString() String
A string representation of this object.
inherited

Operators

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