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 iconColor = iconTheme?.iconUnselectedColor ?? theme.iconTheme.color;
final iconFillColor =
iconTheme?.iconUnselectedFillColor ?? theme.canvasColor;
return QuillToolbarIconButton(
tooltip: tooltip,
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor),
size: iconSize * iconButtonFactor,
icon: Icon(iconData, size: iconSize, color: iconColor),
isFilled: false,
iconFilledStyle: IconButton.styleFrom(backgroundColor: iconFillColor),
onPressed: _sharedOnPressed,
afterPressed: afterButtonPressed,
);

Loading…
Cancel
Save