DataFieldItem class

Cupertino needs a ListTile equivalent https://github.com/flutter/flutter/issues/50668 Item class used for fields

Implementers

Constructors

DataFieldItem({dynamic id, String? label, dynamic value, dynamic type})
Supply a identifier, a label, a value and a maybe a type of value.
DataFieldItem.fromMap(Map m, {String? id, String? label, String? value, String? type})
Crate a Field Item object from a Map supplying a identifier, a label, a value and a maybe a type of value.

Properties

hashCode int
The hash code for this object.
no setterinherited
id ↔ dynamic
getter/setter pair
label String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toMap Map<String, dynamic>
no setter
type ↔ dynamic
getter/setter pair
value ↔ dynamic
getter/setter pair

Methods

keys({String? id, String? label, String? value, String? type}) → void
Assigns the names for the 'label' field and the 'value' field.
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