PagedDataTableRowMetrics class
Single source of truth for the fixed leading/trailing slot widths of a desktop PagedDataTable row. The RESERVATION math (PagedDataTable.build), the DATA row (_PagedDataTableRow), the HEADER row (_PagedDataTableHeaderRow) and the SHIMMER rows (_ShimmerRows) all read these exact values, so the width reserved for columns can never drift from the width actually rendered.
Pure-layout constants (NOT theme tokens, intentionally): the left border indicator, the Material checkbox internal-padding compensation, and the checkbox / expand placeholder slot widths.
Constructors
- PagedDataTableRowMetrics.of(BuildContext context)
-
factory
Properties
- checkboxAreaWidth → double
-
no setter
- checkboxLeftPad → double
-
no setter
- checkboxRightGap → double
-
no setter
- checkboxSlot → double
-
final
- expandIconAreaWidth → double
-
no setter
- expandLeftPad → double
-
no setter
- expandSlot → double
-
final
- gap → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inlineButtonSide → double
-
final
- leftBorderWidth → double
-
final
- pagePadX → double
-
final
- popupButtonSlot → double
-
final
- popupLeftGapWithInline → double
-
final
- popupRightGap → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchIconCenterX → double
-
no setter
- searchPrefixIconSize → double
-
final
- searchPrefixLeftPad → double
-
final
Methods
-
actionsColumnWidth(
{required int inlineCount, required bool hasPopup}) → double -
inlineAreaWidth(
int inlineCount) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popupColumnWidth(
bool inlinePresent) → double -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited