From ac8c30d18ce3da9c9a4a3b851514c09bacaf2546 Mon Sep 17 00:00:00 2001 From: Ahmed Hnewa <73608287+freshtechtips@users.noreply.github.com> Date: Sun, 22 Oct 2023 18:36:15 +0300 Subject: [PATCH] Update toggle_style.dart to use the new isToggled --- lib/src/widgets/toolbar/buttons/toggle_style.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/widgets/toolbar/buttons/toggle_style.dart b/lib/src/widgets/toolbar/buttons/toggle_style.dart index b5ca2131..4d965456 100644 --- a/lib/src/widgets/toolbar/buttons/toggle_style.dart +++ b/lib/src/widgets/toolbar/buttons/toggle_style.dart @@ -211,6 +211,7 @@ class _QuillToolbarToggleStyleButtonState context: context, controller: controller, onPressed: _onPressed, + isToggled: _isToggled ?? false, ), ); }