Update quill_icon_button.dart

pull/1592/head
mark8044 1 year ago committed by GitHub
parent e8f812d4ba
commit ffb2d501ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/src/widgets/toolbar/buttons/quill_icon_button.dart

@ -23,12 +23,12 @@ class QuillToolbarIconButton extends StatelessWidget {
Widget build(BuildContext context) {
if (isFilled) {
return IconButton.filled(
padding: (padding != null) ? padding : null,
padding: padding,
constraints: BoxConstraints(),
onPressed: onPressed, icon: icon);
}
return IconButton(
padding: (padding != null) ? padding : null,
padding: padding,
constraints: BoxConstraints(),
onPressed: () {
onPressed?.call();

Loading…
Cancel
Save