getStyles static method
Implementation
static DefaultStyles? getStyles(BuildContext context, bool nullOk) {
final widget = context.dependOnInheritedWidgetOfExactType<QuillStyles>();
if (widget == null && nullOk) {
return null;
}
assert(widget != null);
return widget!.data;
}