FieldMetaData class

Meta data on a widget constructor field

Annotations
  • @freezed

Constructors

FieldMetaData({required String name, required Type type, required String typeName, required bool isRequired, required bool isNullable, required bool isNamed, String? defaultValueCode, dynamic defaultValue, dynamic viewerInitSelectorParam, String? viewerInitValueCode, String? documentation})
const
factory

Properties

copyWith → $FieldMetaDataCopyWith<FieldMetaData>
no setterinherited
defaultValue → dynamic
Default value
no setterinherited
defaultValueCode String?
Default value in string format
no setterinherited
documentation String?
Documentation on the field
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isNamed bool
Flag if the field is named (if not, it is positional)
no setterinherited
isNullable bool
Flag if the field is nullable
no setterinherited
isRequired bool
Flag if the field is required
no setterinherited
name String
Name of the field
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
Type of the field
no setterinherited
typeName String
Display type name of the field
no setterinherited
viewerInitSelectorParam → dynamic
The initial parameter of the initial data builder to be used by the viewer. The designer will use the first data builder in the provided list which contains the same parameter type.
no setterinherited
viewerInitValueCode String?
Initial value in string format
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