MixProtocolCodecs class abstract final

Public protocol value codecs without exposing the private Ack engine.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

boolean() → MixProtocolValueCodec<bool>
Boolean JSON values.
border() → MixProtocolValueCodec<BorderMix>
Canonical Mix border value.
borderRadius() → MixProtocolValueCodec<BorderRadiusMix>
Canonical Mix border-radius value.
borderSide() → MixProtocolValueCodec<BorderSideMix>
Canonical Mix border-side value.
color() → MixProtocolValueCodec<Color>
Canonical Mix color literal or color-token reference.
edgeInsets() → MixProtocolValueCodec<EdgeInsetsMix>
Canonical Mix edge-insets value.
enumName<T extends Enum>(List<T> values) → MixProtocolValueCodec<T>
Enum encoded by its Dart enum name.
gradient() → MixProtocolValueCodec<GradientMix<Gradient>>
Canonical Mix gradient value.
integer({int? min, int? max}) → MixProtocolValueCodec<int>
Integer JSON values.
list<T extends Object>(MixProtocolValueCodec<T> item, {bool nonEmpty = false}) → MixProtocolValueCodec<List<T>>
JSON list whose entries use item.
nonNegativeNumber() → MixProtocolValueCodec<double>
Non-negative finite number with canonical double-valued token support.
number() → MixProtocolValueCodec<double>
Finite number with canonical double-valued token support.
offset() → MixProtocolValueCodec<Offset>
Canonical finite two-dimensional offset.
positiveNumber() → MixProtocolValueCodec<double>
Positive finite number with canonical double-valued token support.
shadow() → MixProtocolValueCodec<ShadowMix>
Canonical Mix shadow value.
string() → MixProtocolValueCodec<String>
String JSON values.
style<S extends Spec<S>>(MixProtocolBranchContext context) → MixProtocolValueCodec<Style<S>>
A recursively encoded style constrained to the requested spec type.
unitNumber() → MixProtocolValueCodec<double>
Number in the inclusive zero-to-one range with token support.