format_label 2.0.1 format_label: ^2.0.1 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, fontWeight: FontWeight.w700, color: Colors.red),
descriptionTextStyle: TextStyle(fontSize: 14, fontWeight: FontWeight.w300, color: Colors.teal),
)