td class final
The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.
- Inheritance
Constructors
-
td(List<
Component> children, {int? colspan, String? headers, int? rowspan, String? id, String? classes, Styles? styles, Map<String, String> ? attributes, Map<String, EventCallback> ? events, Key? key}) -
The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.
const
Properties
-
attributes
→ Map<
String, String> ? -
Additional attributes to apply to the HTML element.
final
-
children
→ List<
Component> -
The children of this component.
final
- classes → String?
-
The CSS classes to apply to the HTML element, separated by whitespace.
final
- colspan → int?
-
Contains a non-negative integer value that indicates how many columns the data cell spans or extends. The default value is 1. User agents dismiss values higher than 1000 as incorrect, setting to the default value (1).
final
-
events
→ Map<
String, EventCallback> ? -
Event listeners to attach to the HTML element.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → String?
-
Contains a list of space-separated strings, each corresponding to the id attribute of the <th> elements that provide headings for this table cell.
final
- id → String?
-
The id of the HTML element. Must be unique within the document.
final
- key → Key?
-
Controls how one component replaces another component in the tree.
finalinherited
- rowspan → int?
-
Contains a non-negative integer value that indicates for how many rows the data cell spans or extends. The default value is 1; if its value is set to 0, it extends until the end of the table grouping section (<thead>, <tbody>, <tfoot>, even if implicitly defined), that the cell belongs to. Values higher than 65534 are clipped to 65534.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styles → Styles?
-
The inline styles to apply to the HTML element.
final
Methods
-
build(
BuildContext context) → Component -
Describes the part of the user interface represented by this component.
override
-
createElement(
) → Element -
Creates a StatelessElement to manage this component's location in the tree.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(
covariant Component newComponent) → bool -
Implement this method to determine whether a rebuild can be skipped.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited