format_label 2.1.0 copy "format_label: ^2.1.0" to clipboard
format_label: ^2.1.0 copied to clipboard

A Flutter package that allow to have a bold and normal font weight in a same line, like a title-description format.

A Flutter package that allow to have a bold and normal font weight in a same line, like a title-description format.

Usage #

FormatLabel(
    mainText: 'Animals:',
    description: 'Dog, cat, duck, hippo, bird, tiger',
    mainTextStyle: TextStyle(fontSize: 14, color: Colors.red),
    descriptionTextStyle: TextStyle(fontSize: 14, color: Colors.teal),

    // Optional values. Default values are bold and normal respectively.
    mainTextWeight: FontWeight.w700,
    descriptionTextWeight: FontWeight.w300,
)

Show image example #

Alt text

4
likes
160
pub points
29%
popularity

Publisher

unverified uploader

A Flutter package that allow to have a bold and normal font weight in a same line, like a title-description format.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on format_label