Flutter Quill Documentation
  • Flutter Quill
  • 👥 Contributing
  • configurations
    • ✨ Custom QuillToolbar Buttons
    • Font Size
    • 🌍 Localizations Setup
    • 🛠️ Using Custom App Widget
  • migration
    • 7 -> 8
    • 8 -> 9
  • README
    • CN
  • Attributes Introduction
  • Code Introduction
  • Delta Introduction
  • Custom Embed Blocks
  • Custom Toolbar
  • Development notes
  • Rules Introduction
  • Migration
  • Translation
Powered by GitBook
On this page
  1. configurations

Font Size

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. 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'}
Previous✨ Custom QuillToolbar ButtonsNext🌍 Localizations Setup

Last updated 9 months ago