@@ -398,7 +398,6 @@ const Object _baseConstraint = Object();
398398
399399extension ConstrainedWidgetsExt on Widget {
400400 Constrained applyConstraint ({
401- Key ? key,
402401 ConstraintId ? id,
403402 double width = wrapContent,
404403 double height = wrapContent,
@@ -531,7 +530,6 @@ extension ConstrainedWidgetsExt on Widget {
531530 }
532531
533532 Constrained apply ({
534- Key ? key,
535533 required Constraint constraint,
536534 }) {
537535 return Constrained (
@@ -542,7 +540,6 @@ extension ConstrainedWidgetsExt on Widget {
542540 }
543541
544542 UnConstrained applyConstraintId ({
545- Key ? key,
546543 required ConstraintId id,
547544 }) {
548545 return UnConstrained (
@@ -554,7 +551,7 @@ extension ConstrainedWidgetsExt on Widget {
554551
555552 /// When the layout is complex, if the child elements need to be repainted frequently, it
556553 /// is recommended to use RepaintBoundary to improve performance.
557- RepaintBoundary offPaint ({ Key ? key} ) {
554+ RepaintBoundary offPaint () {
558555 return RepaintBoundary (
559556 key: key,
560557 child: this ,
@@ -564,7 +561,6 @@ extension ConstrainedWidgetsExt on Widget {
564561 /// If you can't declare a child element as const and it won't change, you can use OffBuildWidget
565562 /// to avoid the rebuilding of the child element.
566563 OffBuildWidget offBuild ({
567- Key ? key,
568564 required String id,
569565 }) {
570566 return OffBuildWidget (
0 commit comments