|
|
@ -120,6 +120,13 @@ class QuillToolbarFontFamilyButtonState |
|
|
|
return iconSize ?? baseFontSize ?? kDefaultIconSize; |
|
|
|
return iconSize ?? baseFontSize ?? kDefaultIconSize; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
double get iconButtonFactor { |
|
|
|
|
|
|
|
final baseIconFactor = |
|
|
|
|
|
|
|
context.quillToolbarBaseButtonOptions?.iconButtonFactor; |
|
|
|
|
|
|
|
final iconButtonFactor = widget.options.iconButtonFactor; |
|
|
|
|
|
|
|
return iconButtonFactor ?? baseIconFactor ?? kDefaultIconButtonFactor; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
VoidCallback? get afterButtonPressed { |
|
|
|
VoidCallback? get afterButtonPressed { |
|
|
|
return options.afterButtonPressed ?? |
|
|
|
return options.afterButtonPressed ?? |
|
|
|
context.quillToolbarBaseButtonOptions?.afterButtonPressed; |
|
|
|
context.quillToolbarBaseButtonOptions?.afterButtonPressed; |
|
|
@ -266,10 +273,9 @@ class QuillToolbarFontFamilyButtonState |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
const SizedBox(width: 3), |
|
|
|
|
|
|
|
Icon( |
|
|
|
Icon( |
|
|
|
Icons.arrow_drop_down, |
|
|
|
Icons.arrow_drop_down, |
|
|
|
size: iconSize / 1.15, |
|
|
|
size: iconSize * iconButtonFactor, |
|
|
|
// color: iconTheme?.iconUnselectedFillColor ?? theme.iconTheme.color, |
|
|
|
// color: iconTheme?.iconUnselectedFillColor ?? theme.iconTheme.color, |
|
|
|
) |
|
|
|
) |
|
|
|
], |
|
|
|
], |
|
|
|