chore: update old deprecated code

pull/1873/head
Ellet 11 months ago
parent e3e3220634
commit 04e0775cc8
  1. 2
      lib/src/widgets/toolbar/buttons/link_style2_button.dart

@ -281,7 +281,7 @@ class _LinkStyleDialogState extends State<LinkStyleDialog> {
? Theme.of(context)
.elevatedButtonTheme
.style
?.copyWith(fixedSize: MaterialStatePropertyAll(widget.buttonSize))
?.copyWith(fixedSize: WidgetStatePropertyAll(widget.buttonSize))
: widget.dialogTheme?.buttonStyle;
final isWrappable = widget.dialogTheme?.isWrappable ?? false;

Loading…
Cancel
Save