Skip to content

Commit a4dd9b5

Browse files
author
Ellet
committed
Fix the tooltip
1 parent 61aa29a commit a4dd9b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/widgets/toolbar/buttons/quill_icon_button.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ class QuillToolbarIconButton extends StatelessWidget {
2727
Widget build(BuildContext context) {
2828
if (isSelected) {
2929
return IconButton.filled(
30+
tooltip: tooltip,
3031
padding: padding,
3132
onPressed: onPressed,
3233
icon: icon,
3334
style: iconSelectedStyle,
3435
);
3536
}
3637
return IconButton(
38+
tooltip: tooltip,
3739
padding: padding,
3840
onPressed: onPressed != null
3941
? () {

0 commit comments

Comments
 (0)