From b5147d89d6d162187824a8ab87c3d514bcdc8a18 Mon Sep 17 00:00:00 2001 From: Aleksei <130981115+MacDeveloper1@users.noreply.github.com> Date: Tue, 19 Dec 2023 12:21:56 +0100 Subject: [PATCH] Restore old call of `QuillToolbarIconButton` --- .../lib/embeds/formula/toolbar/formula_button.dart | 1 - .../lib/embeds/image/toolbar/image_button.dart | 1 - .../lib/embeds/others/camera_button/camera_button.dart | 2 -- .../lib/embeds/video/toolbar/video_button.dart | 1 - 4 files changed, 5 deletions(-) diff --git a/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart b/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart index 84dfdb36..e366497e 100644 --- a/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart +++ b/flutter_quill_extensions/lib/embeds/formula/toolbar/formula_button.dart @@ -94,7 +94,6 @@ class QuillToolbarFormulaButton extends StatelessWidget { icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor), tooltip: tooltip, onPressed: () => _sharedOnPressed(context), - isFilled: false, ); } diff --git a/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart b/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart index f943dabd..45007eb8 100644 --- a/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart +++ b/flutter_quill_extensions/lib/embeds/image/toolbar/image_button.dart @@ -109,7 +109,6 @@ class QuillToolbarImageButton extends StatelessWidget { color: iconColor, ), tooltip: tooltip, - isFilled: false, onPressed: () => _sharedOnPressed(context), ); } diff --git a/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart b/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart index ef7ad3da..d93d8bfd 100644 --- a/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart +++ b/flutter_quill_extensions/lib/embeds/others/camera_button/camera_button.dart @@ -108,8 +108,6 @@ class QuillToolbarCameraButton extends StatelessWidget { return QuillToolbarIconButton( icon: Icon(iconData, size: iconButtonFactor * iconSize, color: iconColor), tooltip: tooltip, - isFilled: false, - // isDesktop(supportWeb: false) ? null : onPressed: () => _sharedOnPressed(context), ); } diff --git a/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart b/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart index 74875978..84141a0c 100644 --- a/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart +++ b/flutter_quill_extensions/lib/embeds/video/toolbar/video_button.dart @@ -108,7 +108,6 @@ class QuillToolbarVideoButton extends StatelessWidget { return QuillToolbarIconButton( icon: Icon(iconData, size: iconSize * iconButtonFactor, color: iconColor), tooltip: tooltip, - isFilled: false, onPressed: () => _sharedOnPressed(context), ); }