toolbar library
The declarative toolbar layer: the QuillKitToolbar widget, the
built-in item types and factory lists, and the localizable toolbar
strings.
Items are data, not booleans: pass an explicit items: list (compose
from QuillKitToolbarItems) or let the toolbar collect the items the
controller's extensions contribute.
Classes
- ActionItem
- A toolbar button that runs a controller action rather than toggling an attribute — undo, redo, or any custom command.
- ColorItem
- The text-color / background-color toolbar buttons.
- ColorPickerDialog
-
A small, dependency-free color picker: a Material swatch grid
(black/white/greys plus every primary swatch in three shades), a
recent-colors row, a "No color" entry, and a hex field with live
preview and validation (same
#rrggbb/#aarrggbbgrammar the document model uses). - ColorPickerResult
- What ColorPickerDialog resolves with.
-
DropdownAttributeItem<
T extends Object> - A popup-menu toolbar item bound to a valued attribute — used for the header level and line height.
-
DropdownOption<
T extends Object> - One selectable value of a DropdownAttributeItem.
- IndentItem
- The increase/decrease indent buttons.
- LinkDialog
-
The add/edit-link dialog: display-text and URL fields, live scheme
validation (http/https/mailto/tel), and Apply/Cancel plus Remove when
editing an existing link. Pops a LinkDialogResult, or
nullon cancel. - LinkDialogResult
- What LinkDialog resolves with.
- LinkItem
-
The link toolbar button: opens LinkDialog to add, edit or remove the
linkattribute on the current selection. - QuillKitStrings
- Every user-facing string of the QuillKit toolbar, with English defaults.
- QuillKitStringsScope
- Provides a QuillKitStrings to descendant toolbar widgets.
- QuillKitToolbar
- The declarative QuillKit toolbar.
- QuillKitToolbarButton
- The base styled button every toolbar item renders through: a fixed 40x40 Material ink well with an icon (or arbitrary child), a tooltip, an optional toggled-on visual state, and a disabled state.
- QuillKitToolbarItems
- Factory lists of the built-in toolbar items.
- ToggleAttributeItem
-
A toolbar toggle bound to one Attribute: bold, blockquote,
list: 'ordered',direction: 'rtl', ... - ToolbarColors
- The color tokens toolbar buttons paint with, derived from the ambient Material ColorScheme so the toolbar matches the app automatically.
- ToolbarDivider
- A thin vertical rule rendered between toolbar groups.
- ToolbarItem
-
One declarative toolbar entry contributed by an
EditorExtension. - ToolbarItemContext
- Everything a ToolbarItem.build implementation needs to render one toolbar entry.
- ToolbarItemResources
- Everything a toolbar item needs beyond the ToolbarItemContext it is handed: resolved strings, theme data, and the icon color tokens.
Enums
- ToolbarLayout
- How a QuillKitToolbar lays out its items.