|
|
@ -24,12 +24,12 @@ class QuillToolbarIconButton extends StatelessWidget { |
|
|
|
if (isFilled) { |
|
|
|
if (isFilled) { |
|
|
|
return IconButton.filled( |
|
|
|
return IconButton.filled( |
|
|
|
padding: padding, |
|
|
|
padding: padding, |
|
|
|
constraints: BoxConstraints(), |
|
|
|
constraints: const BoxConstraints(), |
|
|
|
onPressed: onPressed, icon: icon); |
|
|
|
onPressed: onPressed, icon: icon); |
|
|
|
} |
|
|
|
} |
|
|
|
return IconButton( |
|
|
|
return IconButton( |
|
|
|
padding: padding, |
|
|
|
padding: padding, |
|
|
|
constraints: BoxConstraints(), |
|
|
|
constraints: const BoxConstraints(), |
|
|
|
onPressed: () { |
|
|
|
onPressed: () { |
|
|
|
onPressed?.call(); |
|
|
|
onPressed?.call(); |
|
|
|
afterPressed?.call(); |
|
|
|
afterPressed?.call(); |
|
|
|