copyWith method
Creates a copy of this LayoutHints but with the given fields replaced with the new values.
Implementation
LayoutHints copyWith({
double? bigOpHeightHint,
double? maxLineWidth,
bool? lineBreakingEnabled,
}) {
return LayoutHints(
bigOpHeightHint: bigOpHeightHint ?? this.bigOpHeightHint,
maxLineWidth: maxLineWidth ?? this.maxLineWidth,
lineBreakingEnabled: lineBreakingEnabled ?? this.lineBreakingEnabled,
);
}