DuckTableCellData class

Data class for the DuckTableCell component.

This class represents a table cell component that displays cell data.

Inheritance
Annotations
  • @JsonSerializable.new()

Constructors

DuckTableCellData({required String text})
Creates a new DuckTableCellData instance.
DuckTableCellData.fromJson(Map<String, dynamic> json)
Creates a DuckTableCellData instance from a JSON map.
factory
DuckTableCellData.mock()
Creates a mock DuckTableCellData instance for testing purposes.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
The text displayed in the cell.
final
type → String
The unique type identifier for this component.
no setteroverride

Methods

buildWidget(BuildContext context) → Widget
Builds the widget for this component.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this component to a JSON map.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

componentType → const String
The unique identifier for this component type.