Within the editor toolbar, a drop-down with font-sizing capabilities is available. This can be enabled or disabled with showFontSize
.
When enabled, the default font-size values can be modified via optional fontSizeValues
. fontSizeValues
accepts a Map<String, String>
consisting of a String
title for the font size and a String
value for the font size. Example:
fontSizeValues: const {'Small': '8', 'Medium': '24.5', 'Large': '46'}
Font size can be cleared with a value of 0
, for example:
fontSizeValues: const {'Small': '8', 'Medium': '24.5', 'Large': '46', 'Clear': '0'}