plugins/rounded_background_text/src/rounded_background_text library

Classes

LineMetricsHelper
A helper class that holds important information about a single line metrics. This is used to calculate the position of the line in the paragraph.
RoundedBackgroundText
Creates a paragraph with rounded background.
RoundedBackgroundTextPainter

Constants

kDefaultInnerRadius → const double
kDefaultOuterRadius → const double

Functions

foregroundColor(Color? backgroundColor) Color?
Gets the foreground color based on backgroundColor