Add after pressed

pull/1649/head
Ellet 1 year ago
parent ac1138f1f4
commit 02160ba0ae
  1. 5
      lib/src/widgets/toolbar/buttons/hearder_style/select_header_style_dropdown_button.dart

@ -216,8 +216,9 @@ class _QuillToolbarSelectHeaderStyleDropdownButtonState
void _onDropdownButtonPressed() { void _onDropdownButtonPressed() {
if (_menuController.isOpen) { if (_menuController.isOpen) {
_menuController.close(); _menuController.close();
return; } else {
_menuController.open();
} }
_menuController.open(); afterButtonPressed?.call();
} }
} }

Loading…
Cancel
Save