Restore old call of `QuillToolbarIconButton`

pull/1621/head
Aleksei 1 year ago
parent b5147d89d6
commit 2c5e02a862
  1. 1
      lib/src/widgets/toolbar/buttons/clear_format_button.dart
  2. 1
      lib/src/widgets/toolbar/buttons/custom_button_button.dart
  3. 1
      lib/src/widgets/toolbar/buttons/history_button.dart
  4. 1
      lib/src/widgets/toolbar/buttons/indent_button.dart
  5. 1
      lib/src/widgets/toolbar/buttons/link_style2_button.dart
  6. 1
      lib/src/widgets/toolbar/buttons/link_style_button.dart
  7. 1
      lib/src/widgets/toolbar/buttons/search/search_button.dart

@ -111,7 +111,6 @@ class QuillToolbarClearFormatButton extends StatelessWidget {
return QuillToolbarIconButton(
tooltip: tooltip,
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor),
isFilled: false,
onPressed: _sharedOnPressed,
afterPressed: afterButtonPressed,
);

@ -81,7 +81,6 @@ class QuillToolbarCustomButton extends StatelessWidget {
return QuillToolbarIconButton(
icon: options.icon ?? const SizedBox.shrink(),
isFilled: false,
tooltip: tooltip,
onPressed: () => _onPressed(context),
afterPressed: afterButtonPressed,

@ -105,7 +105,6 @@ class QuillToolbarHistoryButtonState extends State<QuillToolbarHistoryButton> {
? iconTheme?.iconUnselectedColor ?? theme.iconTheme.color
: iconTheme?.disabledIconColor ?? theme.disabledColor,
),
isFilled: false,
onPressed: _updateHistory,
afterPressed: afterButtonPressed,
);

@ -110,7 +110,6 @@ class QuillToolbarIndentButtonState extends State<QuillToolbarIndentButton> {
return QuillToolbarIconButton(
tooltip: tooltip,
icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor),
isFilled: false,
onPressed: _sharedOnPressed,
afterPressed: afterButtonPressed,
);

@ -155,7 +155,6 @@ class _QuillToolbarLinkStyleButton2State
? (iconTheme?.iconSelectedColor ?? theme.primaryIconTheme.color)
: (iconTheme?.iconUnselectedColor ?? theme.iconTheme.color),
),
isFilled: isToggled,
onPressed: _openLinkDialog,
afterPressed: afterButtonPressed,
);

@ -147,7 +147,6 @@ class QuillToolbarLinkStyleButtonState
? (iconTheme?.iconSelectedColor ?? theme.primaryIconTheme.color)
: (iconTheme?.iconUnselectedColor ?? theme.iconTheme.color),
),
isFilled: isToggled,
onPressed: () => _openLinkDialog(context),
afterPressed: afterButtonPressed,
);

@ -118,7 +118,6 @@ class QuillToolbarSearchButton extends StatelessWidget {
size: iconSize * iconButtonFactor,
color: iconColor,
),
isFilled: false,
onPressed: () => _sharedOnPressed(context),
afterPressed: afterButtonPressed,
);

Loading…
Cancel
Save