showFontVariants property

bool showFontVariants
final

Set whether to show font variants (weights and styles) in the font picker. If set to false, user will only be able to select the default variant of each font.

Implementation

final bool showFontVariants;