SummerRowExpandable class

Expandable-row configuration (controlled).

The caller owns expandedKeys and updates them in onChanged. For stable expansion across row mutations, ensure your data source implements SummerDataTableSource.rowKey with a stable identifier.

Constructors

SummerRowExpandable({required Set<Object?> expandedKeys, required Widget builder(BuildContext context, int rowIndex), ValueChanged<Set<Object?>>? onChanged, Widget? expandIcon, Widget? collapseIcon, double columnWidth = 40.0})
const

Properties

builder Widget Function(BuildContext context, int rowIndex)
Builds the expansion panel shown beneath the expanded row.
final
collapseIcon Widget?
Icon shown when the row is expanded.
final
columnWidth double
Width of the leading expand-toggle column.
final
expandedKeys Set<Object?>
Row keys currently expanded.
final
expandIcon Widget?
Icon shown when the row is collapsed.
final
hashCode int
The hash code for this object.
no setterinherited
onChanged ValueChanged<Set<Object?>>?
Invoked with the new key set when expansion toggles.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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