utils/utils library
Classes
-
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
- WebScript
- Class to create a script that can be run on Flutter Web.
Functions
-
getRandString(
int len) → String -
Generates a random string to be used as the
VisibilityDetector
key. Technically this limits the number of editors to a finite number, but nobody will be embedding enough editors to reach the theoretical limit (yes, this is a challenge ;-) ) -
intersperse<
T> (T element, Iterable< T> iterable) → Iterable<T> - courtesy of @modulovalue (https://github.com/modulovalue/dart_intersperse/blob/master/lib/src/intersperse.dart) intersperses elements in between list items - used to insert dividers between toolbar buttons when using ToolbarType.nativeScrollable
-
setState(
bool mounted, void setState(dynamic ()), void fn()) → void - small function to always check if mounted before running setState()
Typedefs
-
DropdownButtonBuilder
= List<
Widget> Function(BuildContext context)