html_editor library
Classes
- Callbacks
- Manages all the callback functions the library provides
- ColorButtons
- Color bar group
- ContentWorld
- Class that represents an object that defines a scope of execution for JavaScript code and which you use to prevent conflicts between different scripts.
- ContextMenu
-
Class that represents the WebView context menu. It used by
WebView.contextMenu
. - ContextMenuItem
- Class that represent an item of the ContextMenu.
- ContextMenuOptions
- Class that represents available options used by ContextMenu.
-
CustomDropdownButton<
T> - CustomDropdownButtonHideUnderline
-
CustomDropdownMenuItem<
T> - EditorSettings
-
Class that helps pass editor settings to the
onSettingsChange
callback - ExpandIconDelegate
- Delegate for the icon that controls the expansion status of the toolbar
- 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
- Fallback HtmlEditor class (should never be called)
- HtmlEditorController
- Fallback controller (should never be used)
- HtmlEditorOptions
- Options that modify the editor and its behavior
- HtmlToolbarOptions
- Options that modify the toolbar and its behavior
- InsertButtons
- Insert group
- ListButtons
- List group
-
Class that is used by
WebView.shouldOverrideUrlLoading
event. It represents the policy to pass back to the decision handler. - OtherButtons
- Miscellaneous group
- OtherOptions
- Other options such as the height of the widget and the decoration surrounding it
- ParagraphButtons
- Paragraph group
- Plugins
- Abstract class that all the plguin classes extend
- StyleButtons
- Style group
- SummernoteAtMention
- Summernote @ Mention plugin - adds a dropdown to select the person to mention whenever the '@' character is typed into the editor. The list of people to mention is drawn from the getSuggestionsMobile (on mobile) or mentionsWeb (on Web) parameter. You can detect who was mentioned using the onSelect callback.
- Toolbar
- Abstract class that all the toolbar classes extend
- ToolbarWidget
- Toolbar widget class
- ToolbarWidgetState
- Toolbar widget state
- UserScript
-
Class that represents a script that the
WebView
injects into the web page. - UserScriptInjectionTime
-
Class that represents contains the constants for the times at which to inject script content into a
WebView
used by an UserScript. - 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 - DropdownMenuDirection
- Sets the direction the dropdown menu opens
- DropdownType
-
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
summernote
- uses the default summernote buttons (no native controls and reduced feature support) //todo - 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
Typedefs
-
DropdownButtonBuilder
= List<
Widget> Function(BuildContext context)