headerStyle property

CellStyle? headerStyle
final

Defines the main axis extent of all of this sliver's children.

The prototypeCell is laid out before the rest of the sliver's children and its size along the main axis fixes the size of each child. The prototypeCell is essentially Offstage: it is not painted and it cannot respond to input. An immutable style describing how to create header Default is CellStyle.header()

Implementation

//final Widget prototypeCell;

/// An immutable style describing how to create header
/// Default is [CellStyle.header()]
final CellStyle? headerStyle;