FdcColumnSummary class

Per-column summary configuration.

Keeps summary behavior grouped as one column property instead of spreading aggregate, label, menu and style options across every column constructor.

Constructors

FdcColumnSummary({FdcAggregate? aggregate, String? label, bool labelVisible = true, FdcSummaryLabelAlignment labelAlignment = FdcSummaryLabelAlignment.inline, bool allowAggregateChange = false, FdcGridSummaryCellStyle? style})
Creates a FdcColumnSummary.
const

Properties

aggregate FdcAggregate?
Aggregate operation displayed for this column in the optional summary row.
final
allowAggregateChange bool
Enables the summary row cell popup menu that lets users change this column's active aggregate at runtime.
final
hashCode int
The hash code for this object.
no setteroverride
label String?
Optional label displayed next to this column's summary value.
final
labelAlignment FdcSummaryLabelAlignment
Alignment/layout behavior for label inside the summary cell.
final
labelVisible bool
Controls whether summary labels are rendered in the summary row.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style FdcGridSummaryCellStyle?
Optional per-column style used only by this column's summary row cell.
final

Methods

copyWith({FdcAggregate? aggregate, String? label, bool? labelVisible, FdcSummaryLabelAlignment? labelAlignment, bool? allowAggregateChange, FdcGridSummaryCellStyle? style}) FdcColumnSummary
Creates a copy with selected values replaced.
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.
override