Skip to main content

flatten_with

Function flatten_with 

Source
pub fn flatten_with(
    text: &Text,
    base_weight: FontWeight,
    theme: &Theme,
    paint: impl Fn(&str) -> Option<MarkPaint>,
) -> Flat
Expand 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.