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