From d671a834f3801eb905aa7ccfeb9e122aaf93886e Mon Sep 17 00:00:00 2001 From: Alejandro Santiago Date: Fri, 9 Sep 2022 23:12:29 +0100 Subject: [PATCH] fix: removed Widget type from child parameter in OutlinedButton (#111034) --- packages/flutter/lib/src/material/outlined_button.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/material/outlined_button.dart b/packages/flutter/lib/src/material/outlined_button.dart index 3797d538df..6a11a441fd 100644 --- a/packages/flutter/lib/src/material/outlined_button.dart +++ b/packages/flutter/lib/src/material/outlined_button.dart @@ -80,7 +80,7 @@ class OutlinedButton extends ButtonStyleButton { super.autofocus = false, super.clipBehavior = Clip.none, super.statesController, - required Widget super.child, + required super.child, }); /// Create a text button from a pair of widgets that serve as the button's