editor static method
Build the css for the Summernote editor, using Theme.colorScheme
to adhere to Material 2.0.
Implementation
static String editor({required ColorScheme colorScheme}) => elementCss(
selector: '.note-editable',
properties: {
'color': hexFromColor(color: colorScheme.onSurface),
'background-color': hexFromColor(color: colorScheme.surface),
},
);