DuckTableCellData class
Data class for the DuckTableCell component.
This class represents a table cell component that displays cell data.
- Inheritance
-
- Object
- DuckComponent
- DuckTableCellData
- 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
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.