Restore feel & look `QuillToolbarIndentButton`

pull/1633/head
Aleksei 1 year ago
parent be4001087e
commit ad3be0c431
  1. 7
      lib/src/widgets/toolbar/buttons/indent_button.dart

@ -107,10 +107,15 @@ class QuillToolbarIndentButtonState extends State<QuillToolbarIndentButton> {
final theme = Theme.of(context); final theme = Theme.of(context);
final iconColor = iconTheme?.iconUnselectedColor ?? theme.iconTheme.color; final iconColor = iconTheme?.iconUnselectedColor ?? theme.iconTheme.color;
final iconFillColor =
iconTheme?.iconUnselectedFillColor ?? theme.canvasColor;
return QuillToolbarIconButton( return QuillToolbarIconButton(
tooltip: tooltip, tooltip: tooltip,
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor), size: iconSize * iconButtonFactor,
icon: Icon(iconData, size: iconSize, color: iconColor),
isFilled: false, isFilled: false,
iconFilledStyle: IconButton.styleFrom(backgroundColor: iconFillColor),
onPressed: _sharedOnPressed, onPressed: _sharedOnPressed,
afterPressed: afterButtonPressed, afterPressed: afterButtonPressed,
); );

Loading…
Cancel
Save