Common codecs. Nullable variants (optional*) read a missing or
unreadable value as null.
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
Constants
-
alignment
→ const ValueCodec<
Alignment> -
any
→ const ValueCodec<
Object?> - Any JSON value.
- bool → const BoolCodec
-
borderSide
→ const ValueCodec<
BorderSide> -
color
→ const ValueCodec<
Color> -
constraints
→ const ValueCodec<
BoxConstraints> - double → const DoubleCodec
-
doubles
→ const ListCodec<
_Double> -
effects
→ const ListCodec<
Effect> -
icon
→ const ValueCodec<
Json> -
An icon glyph (
IconData, or an SVG / image):{"source", "name", "codepoint", ...}or{"svg"|"image": url}. An image icon's URL may also come asimageUrl(as JSON written by hand often names it); it's read asimage. A plain string (often a bound value) is a Material icon name, or an image URL. -
insets
→ const ValueCodec<
EdgeInsets> - int → const IntCodec
-
json
→ const ValueCodec<
Json> - A free-form JSON object.
-
jsonList
→ const ValueCodec<
List< Json> > - Free-form JSON objects (data rows).
-
offset
→ const ValueCodec<
Offset> -
optionalAlignment
→ const ValueCodec<
Alignment?> - optionalBool → const OptionalBoolCodec
-
optionalBorderSide
→ const ValueCodec<
BorderSide?> -
optionalColor
→ const ValueCodec<
Color?> -
optionalConstraints
→ const ValueCodec<
BoxConstraints?> - optionalDouble → const OptionalDoubleCodec
-
optionalIcon
→ const ValueCodec<
Json?> -
optionalInsets
→ const ValueCodec<
EdgeInsets?> - optionalInt → const OptionalIntCodec
-
optionalOffset
→ const ValueCodec<
Offset?> - optionalPositive → const OptionalDoubleCodec
-
optionalRadius
→ const ValueCodec<
BorderRadius?> - optionalString → const OptionalStringCodec
-
paint
→ const ValueCodec<
Paint> -
paints
→ const ListCodec<
Paint> - positive → const DoubleCodec
-
radius
→ const ValueCodec<
BorderRadius> - string → const StringCodec
-
strings
→ const ListCodec<
String> -
textRuns
→ const ListCodec<
TextRun> -
textStyle
→ const ValueCodec<
TextStyle>