pull/1826/head
Dmitry Ukhanov 1 year ago committed by GitHub
parent e2bcdcac46
commit 5d4e4eed8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      lib/src/widgets/toolbar/buttons/font_family_button.dart
  2. 9
      lib/src/widgets/toolbar/buttons/font_size_button.dart

@ -233,14 +233,7 @@ class QuillToolbarFontFamilyButtonState
}
return QuillToolbarIconButton(
isSelected: false,
iconTheme: iconTheme?.copyWith(
iconButtonSelectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
iconButtonUnselectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
),
iconTheme: iconTheme,
onPressed: _onPressed,
icon: _buildContent(context),
);

@ -203,14 +203,7 @@ class QuillToolbarFontSizeButtonState
return QuillToolbarIconButton(
tooltip: tooltip,
isSelected: false,
iconTheme: iconTheme?.copyWith(
iconButtonSelectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
iconButtonUnselectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
),
iconTheme: iconTheme,
onPressed: _onDropdownButtonPressed,
icon: _buildContent(context),
);

Loading…
Cancel
Save