SkeletonGenerationContext class

Context passed through skeleton generation process.

Constructors

SkeletonGenerationContext({required SkeletonConfig config, Map<Type, Size> sizeCache = const {}})
Creates a skeleton generation context.
const

Properties

config SkeletonConfig
The configuration to use.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeCache Map<Type, Size>
Cache for resolved widget sizes.
final

Methods

copyWith({SkeletonConfig? config, Map<Type, Size>? sizeCache}) SkeletonGenerationContext
Creates a copy with optional overrides.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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