RowRenderer<T extends DataGridRow> class
abstract
Abstract base class for custom row rendering.
Implement this to create custom row layouts, grouping, hierarchy, etc.
- Implementers
Constructors
- RowRenderer()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRow(
BuildContext context, T row, int index, RowRenderContext< T> renderContext) → Widget - Builds a single row widget.
-
getRowHeight(
T row, int index) → double? - Optional: Calculate row height dynamically. Return null to use default height.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldBuildRow(
T row, int index) → bool - Optional: Determine if row should be built. Useful for conditional rendering (e.g., skip filtered rows).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited