PagedDataTableRowMetrics.of constructor
PagedDataTableRowMetrics.of(
- BuildContext context
Implementation
factory PagedDataTableRowMetrics.of(BuildContext context) {
final t = CLTheme.of(context);
return PagedDataTableRowMetrics._(
leftBorderWidth: 2.5,
checkboxSlot: t.iconSizeDefault, // box stretto sul checkbox; Lg dx lo dà il padding cella
expandSlot: 24.0,
searchPrefixLeftPad: t.gapMd,
searchPrefixIconSize: 18.0,
pagePadX: t.gapLg, // table horizontal content inset = Lg (16)
gap: t.gapMd,
popupButtonSlot: 40.0,
popupRightGap: t.gapLg, // trailing inset == left content inset
popupLeftGapWithInline: t.gapSm,
inlineButtonSide: t.buttonHeightCompact, // 32 — the value CLIconButton renders
);
}