PropType.value constructor

const PropType.value(
  1. String name
)

A Flutter value type with a JSON form of its own (PropKind.value).

Implementation

const PropType.value(this.name)
  : kind = PropKind.value,
    values = const [],
    item = null,
    _fields = null,
    _spec = null,
    min = null,
    max = null;