|
|
@ -181,7 +181,7 @@ class QuillToolbarFontSizeButtonState |
|
|
|
controller.selectFontSize(null); |
|
|
|
controller.selectFontSize(null); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
controller.selectFontSize(fontSize.value); |
|
|
|
controller.selectFontSize(fontSize); |
|
|
|
}, |
|
|
|
}, |
|
|
|
child: Text( |
|
|
|
child: Text( |
|
|
|
fontSize.key.toString(), |
|
|
|
fontSize.key.toString(), |
|
|
@ -231,7 +231,7 @@ class QuillToolbarFontSizeButtonState |
|
|
|
enabled: hasFinalWidth, |
|
|
|
enabled: hasFinalWidth, |
|
|
|
wrapper: (child) => Expanded(child: child), |
|
|
|
wrapper: (child) => Expanded(child: child), |
|
|
|
child: Text( |
|
|
|
child: Text( |
|
|
|
getLabel(widget.controller.selectedFontSize) ?? |
|
|
|
getLabel(widget.controller.selectedFontSize?.key) ?? |
|
|
|
getLabel(_currentValue) ?? |
|
|
|
getLabel(_currentValue) ?? |
|
|
|
'', |
|
|
|
'', |
|
|
|
overflow: options.labelOverflow, |
|
|
|
overflow: options.labelOverflow, |
|
|
|