chore: Fix formatting

pull/1989/head
Shubham Gupta 10 months ago
parent e405612a61
commit ac51fff1bc
No known key found for this signature in database
GPG Key ID: CC2235E241BB8F28
  1. 11
      lib/src/widgets/quill/text_line.dart

@ -387,8 +387,8 @@ class _TextLineState extends State<TextLine> {
final isLink = nodeStyle.containsKey(Attribute.link.key) && final isLink = nodeStyle.containsKey(Attribute.link.key) &&
nodeStyle.attributes[Attribute.link.key]!.value != null; nodeStyle.attributes[Attribute.link.key]!.value != null;
final style = _getInlineTextStyle( final style =
nodeStyle, defaultStyles, lineStyle, isLink); _getInlineTextStyle(nodeStyle, defaultStyles, lineStyle, isLink);
if (widget.controller.configurations.requireScriptFontFeatures == false && if (widget.controller.configurations.requireScriptFontFeatures == false &&
textNode.value.isNotEmpty) { textNode.value.isNotEmpty) {
@ -410,11 +410,8 @@ class _TextLineState extends State<TextLine> {
); );
} }
TextStyle _getInlineTextStyle( TextStyle _getInlineTextStyle(Style nodeStyle, DefaultStyles defaultStyles,
Style nodeStyle, Style lineStyle, bool isLink) {
DefaultStyles defaultStyles,
Style lineStyle,
bool isLink) {
var res = const TextStyle(); // This is inline text style var res = const TextStyle(); // This is inline text style
final color = nodeStyle.attributes[Attribute.color.key]; final color = nodeStyle.attributes[Attribute.color.key];

Loading…
Cancel
Save