HeaderFooter class

Convenience chrome for MultiPage headers and footers.

Inheritance

Constructors

HeaderFooter({Widget? leading, Widget? title, Widget? trailing, bool showPageNumber = true, Widget? pageNumber, EdgeInsetsGeometry padding = const EdgeInsets.only(top: 6, bottom: 4), bool divider = false, String dividerColor = 'CFD8DC'})
HeaderFooter API.
const

Properties

divider → bool
When true, draws a hairline under the row.
final
dividerColor → String
dividerColor API.
final
flowChildren → List<Widget>?
Children MultiPage should flow individually (vertical columns).
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
leading → Widget?
leading API.
final
padding → EdgeInsetsGeometry
padding API.
final
pageNumber → Widget?
Optional custom page-number widget (overrides showPageNumber).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showPageNumber → bool
When true and pageNumber is null, appends a default PageNumber.
final
title → Widget?
title API.
final
trailing → Widget?
trailing API.
final

Methods

layout(Context context, BoxConstraints constraints) → PwBox
layout API.
override
layoutSpan(Context context, BoxConstraints constraints) → SpanSlice?
Split across pages when constraints has a bounded height.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintStamp(Context context, double pageW, double pageH) → void
Stamp paint. The default lays out and paints glyph by glyph.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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