flutter_rte library

Classes

Callbacks
Manages all the callback functions the library provides
ColorButtons
Color bar group
CustomButtonGroup
Custom toolbar buttons for the HtmlEditor are grouped into CustomButtonGroup objects. Each group is placed in the toolbar at the index specified by the group's index property.
CustomToolbarButton
Custom toolbar buttons are a part of CustomButtonGroup objects. Each button has an icon, an action to perform when the button is pressed, and a highlight state.
FileUpload
The FileUpload class stores any known data about a file. This class is used as an argument in some callbacks relating to image and file insertion.
FontButtons
Font group
FontSettingButtons
Font setting group
HtmlEditor
HTML rich text editor
HtmlEditorController
Controller for web
HtmlEditorOptions
Options that modify the editor and its behavior
HtmlStylingOptions
Allows to set a pre-defined style for main componennts of the editor
HtmlTagAttributes
Defines attribute values for a specific HTML tag.
HtmlToolbarOptions
Options that modify the toolbar and its behavior
InsertButtons
Insert group
ListButtons
List group
OtherButtons
Miscellaneous group
ParagraphButtons
Paragraph group
StyleButtons
Style group
Toolbar
Abstract class that all the toolbar classes extend
ToolbarWidget
Toolbar widget class
ToolbarWidgetState
Toolbar widget state
VoiceToTextButtons
WebScript
Class to create a script that can be run on Flutter Web.

Enums

ButtonType
Returns the type of button pressed in the onButtonPressed function
Returns the type of dropdown changed in the onDropdownChanged function
HtmlInputType
Sets how the virtual keyboard appears on mobile devices
InsertFileType
Returns the type of file inserted in `onLinkInsertInt
NotificationType
Manages the notification type for a notification displayed at the bottom of the editor
ToolbarPosition
Manages the position of the toolbar, whether above or below the editor custom - removes the toolbar. This is useful when you want to implement the toolbar in a custom location using ToolbarWidget
ToolbarType
Manages the way the toolbar displays: nativeGrid - a grid view (non scrollable) of all the buttons nativeScrollable - a scrollable one-line view of all the buttons nativeExpandable - has an icon to switch between grid and scrollable formats on the fly
UploadError
Defines the 3 different cases for file insertion failing

Functions

fileUploadFromJson(String str) FileUpload
Function that creates an instance of FileUpload from a JSON string