of static method
Returns the FHeaderData of the FHeader in the given context
.
Contract
Throws AssertionError if there is no ancestor FHeader in the given context
.
Implementation
@useResult
static FHeaderData of(BuildContext context) {
assert(debugCheckHasAncestor<FHeaderData>('$FHeader', context));
return context.dependOnInheritedWidgetOfExactType<FHeaderData>()!;
}