ColumnDescriptor class
A ColumnDescriptor
specifies what module attribute to show in a column of
the modules view, how to format it,
and what the column's label should be.
It is only used if the underlying UI actually supports this level of
customization.
Constructors
- ColumnDescriptor({required String attributeName, String? format, required String label, String? type, int? width})
-
ColumnDescriptor.fromMap(Map<
String, Object?> obj)
Properties
- attributeName → String
-
Name of the attribute rendered in this column.
final
- format → String?
-
Format to use for the rendered values in this column. TBD how the format
strings looks like.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Header UI label of column.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
Datatype of values in this column. Defaults to
string
if not specified.final - width → int?
-
Width of this column in characters (hint only).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited