SkinContractRuntimeBinding class

The runtime binding the Flutter shell mounts whole.

Constructors

SkinContractRuntimeBinding({required String name, required RouteContractTable routeTable, required List<ContractRoute> declaredRoutes, required Map<String, StateBinding> stateBindings, required List<ContractStateRow> auditRows})
const
SkinContractRuntimeBinding.fromContract({required String name, required SkinContract contract})
Builds the binding from a parsed contract in one call.
factory

Properties

auditRows List<ContractStateRow>
final
declaredRoutes List<ContractRoute>
The declared (path → view) pairs in contract order — what the shell needs to populate its route table.
final
declaredViews Iterable<String>
The distinct view names the contract declares (routes + states).
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
final
routeTable RouteContractTable
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateBindings Map<String, StateBinding>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stateBindingFor(String view) StateBinding
The state binding for view, or a neutral (none, no empty) binding when the view declares none — an undeclared view is not a violation, it simply binds nothing.
toString() String
A string representation of this object.
inherited

Operators

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