pub fn flatten_with(
text: &Text,
base_weight: FontWeight,
theme: &Theme,
paint: impl Fn(&str) -> Option<MarkPaint>,
) -> FlatExpand description
flatten with the app’s own marks painted — see crate::MarkPaint. A
name the app does not paint reads as the text it wraps.