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( return QuillToolbarIconButton(
isSelected: false, isSelected: false,
iconTheme: iconTheme?.copyWith( iconTheme: iconTheme,
iconButtonSelectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
iconButtonUnselectedData: const IconButtonData(
visualDensity: VisualDensity.compact,
),
),
onPressed: _onPressed, onPressed: _onPressed,
icon: _buildContent(context), icon: _buildContent(context),
); );

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

Loading…
Cancel
Save