From e3d31736254c55bae055d6c4bdf99d845bb6f189 Mon Sep 17 00:00:00 2001 From: danielmolnar Date: Fri, 26 Jan 2024 13:58:48 +0100 Subject: [PATCH] Make Diagnosticable.debugFillProperties referencable --- lib/src/spot/matcher_generator.dart | 1 + lib/src/widgets/align.g.dart | 1 + lib/src/widgets/anytext.g.dart | 1 + lib/src/widgets/circularprogressindicator.g.dart | 1 + lib/src/widgets/column.g.dart | 1 + lib/src/widgets/constrainedbox.g.dart | 1 + lib/src/widgets/container.g.dart | 1 + lib/src/widgets/editabletext.g.dart | 1 + lib/src/widgets/elevatedbutton.g.dart | 1 + lib/src/widgets/floatingactionbutton.g.dart | 1 + lib/src/widgets/gridview.g.dart | 1 + lib/src/widgets/icon.g.dart | 1 + lib/src/widgets/iconbutton.g.dart | 1 + lib/src/widgets/image.g.dart | 1 + lib/src/widgets/linearprogressindicator.g.dart | 1 + lib/src/widgets/listtile.g.dart | 1 + lib/src/widgets/opacity.g.dart | 1 + lib/src/widgets/outlinedbutton.g.dart | 1 + lib/src/widgets/row.g.dart | 1 + lib/src/widgets/safearea.g.dart | 1 + lib/src/widgets/selectabletext.g.dart | 1 + lib/src/widgets/semantics.g.dart | 1 + lib/src/widgets/sizedbox.g.dart | 1 + lib/src/widgets/slider.g.dart | 1 + lib/src/widgets/switch.g.dart | 1 + lib/src/widgets/text.g.dart | 1 + lib/src/widgets/textbutton.g.dart | 1 + lib/src/widgets/textfield.g.dart | 1 + lib/src/widgets/tooltip.g.dart | 1 + lib/src/widgets/wrap.g.dart | 1 + 30 files changed, 30 insertions(+) diff --git a/lib/src/spot/matcher_generator.dart b/lib/src/spot/matcher_generator.dart index bfa54ab7..1e09ba4b 100644 --- a/lib/src/spot/matcher_generator.dart +++ b/lib/src/spot/matcher_generator.dart @@ -230,6 +230,7 @@ extension ${widgetType}Selector on WidgetSelector<$widgetType> { ${imports ?? "import 'package:flutter/widgets.dart';"} import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [$widgetType] auto-generated by spot /// diff --git a/lib/src/widgets/align.g.dart b/lib/src/widgets/align.g.dart index 0ba3f446..6befc256 100644 --- a/lib/src/widgets/align.g.dart +++ b/lib/src/widgets/align.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Align] auto-generated by spot /// diff --git a/lib/src/widgets/anytext.g.dart b/lib/src/widgets/anytext.g.dart index 87fc8e2c..86f75a2d 100644 --- a/lib/src/widgets/anytext.g.dart +++ b/lib/src/widgets/anytext.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [AnyText] auto-generated by spot /// diff --git a/lib/src/widgets/circularprogressindicator.g.dart b/lib/src/widgets/circularprogressindicator.g.dart index 88172c7f..1abdd972 100644 --- a/lib/src/widgets/circularprogressindicator.g.dart +++ b/lib/src/widgets/circularprogressindicator.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [CircularProgressIndicator] auto-generated by spot /// diff --git a/lib/src/widgets/column.g.dart b/lib/src/widgets/column.g.dart index eda15378..6d037734 100644 --- a/lib/src/widgets/column.g.dart +++ b/lib/src/widgets/column.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Column] auto-generated by spot /// diff --git a/lib/src/widgets/constrainedbox.g.dart b/lib/src/widgets/constrainedbox.g.dart index 05e45ac5..d7238841 100644 --- a/lib/src/widgets/constrainedbox.g.dart +++ b/lib/src/widgets/constrainedbox.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [ConstrainedBox] auto-generated by spot /// diff --git a/lib/src/widgets/container.g.dart b/lib/src/widgets/container.g.dart index dfef2d5c..69ff2e63 100644 --- a/lib/src/widgets/container.g.dart +++ b/lib/src/widgets/container.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Container] auto-generated by spot /// diff --git a/lib/src/widgets/editabletext.g.dart b/lib/src/widgets/editabletext.g.dart index 4165d0ee..4a2ffd79 100644 --- a/lib/src/widgets/editabletext.g.dart +++ b/lib/src/widgets/editabletext.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [EditableText] auto-generated by spot /// diff --git a/lib/src/widgets/elevatedbutton.g.dart b/lib/src/widgets/elevatedbutton.g.dart index 981dacf7..6a445652 100644 --- a/lib/src/widgets/elevatedbutton.g.dart +++ b/lib/src/widgets/elevatedbutton.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [ElevatedButton] auto-generated by spot /// diff --git a/lib/src/widgets/floatingactionbutton.g.dart b/lib/src/widgets/floatingactionbutton.g.dart index 11e46ca8..6acac7fd 100644 --- a/lib/src/widgets/floatingactionbutton.g.dart +++ b/lib/src/widgets/floatingactionbutton.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [FloatingActionButton] auto-generated by spot /// diff --git a/lib/src/widgets/gridview.g.dart b/lib/src/widgets/gridview.g.dart index 0d209452..e9a69bd6 100644 --- a/lib/src/widgets/gridview.g.dart +++ b/lib/src/widgets/gridview.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [GridView] auto-generated by spot /// diff --git a/lib/src/widgets/icon.g.dart b/lib/src/widgets/icon.g.dart index 5414dde1..70a2fcd1 100644 --- a/lib/src/widgets/icon.g.dart +++ b/lib/src/widgets/icon.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Icon] auto-generated by spot /// diff --git a/lib/src/widgets/iconbutton.g.dart b/lib/src/widgets/iconbutton.g.dart index 4a8ec41f..5bb2c781 100644 --- a/lib/src/widgets/iconbutton.g.dart +++ b/lib/src/widgets/iconbutton.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [IconButton] auto-generated by spot /// diff --git a/lib/src/widgets/image.g.dart b/lib/src/widgets/image.g.dart index ff242ca1..f6964d1d 100644 --- a/lib/src/widgets/image.g.dart +++ b/lib/src/widgets/image.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Image] auto-generated by spot /// diff --git a/lib/src/widgets/linearprogressindicator.g.dart b/lib/src/widgets/linearprogressindicator.g.dart index 35fbf384..1cc8ffaa 100644 --- a/lib/src/widgets/linearprogressindicator.g.dart +++ b/lib/src/widgets/linearprogressindicator.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [LinearProgressIndicator] auto-generated by spot /// diff --git a/lib/src/widgets/listtile.g.dart b/lib/src/widgets/listtile.g.dart index 614f0536..cc00c35d 100644 --- a/lib/src/widgets/listtile.g.dart +++ b/lib/src/widgets/listtile.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [ListTile] auto-generated by spot /// diff --git a/lib/src/widgets/opacity.g.dart b/lib/src/widgets/opacity.g.dart index 6015b9a6..c6099755 100644 --- a/lib/src/widgets/opacity.g.dart +++ b/lib/src/widgets/opacity.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Opacity] auto-generated by spot /// diff --git a/lib/src/widgets/outlinedbutton.g.dart b/lib/src/widgets/outlinedbutton.g.dart index e9d18f18..3ec7e2a0 100644 --- a/lib/src/widgets/outlinedbutton.g.dart +++ b/lib/src/widgets/outlinedbutton.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [OutlinedButton] auto-generated by spot /// diff --git a/lib/src/widgets/row.g.dart b/lib/src/widgets/row.g.dart index aa838fa5..e5895332 100644 --- a/lib/src/widgets/row.g.dart +++ b/lib/src/widgets/row.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Row] auto-generated by spot /// diff --git a/lib/src/widgets/safearea.g.dart b/lib/src/widgets/safearea.g.dart index 42259a21..1e08822b 100644 --- a/lib/src/widgets/safearea.g.dart +++ b/lib/src/widgets/safearea.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [SafeArea] auto-generated by spot /// diff --git a/lib/src/widgets/selectabletext.g.dart b/lib/src/widgets/selectabletext.g.dart index 6058f149..9e5269ed 100644 --- a/lib/src/widgets/selectabletext.g.dart +++ b/lib/src/widgets/selectabletext.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [SelectableText] auto-generated by spot /// diff --git a/lib/src/widgets/semantics.g.dart b/lib/src/widgets/semantics.g.dart index 21ee3d32..62478937 100644 --- a/lib/src/widgets/semantics.g.dart +++ b/lib/src/widgets/semantics.g.dart @@ -5,6 +5,7 @@ import 'package:flutter/widgets.dart'; import 'package:flutter/rendering.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Semantics] auto-generated by spot /// diff --git a/lib/src/widgets/sizedbox.g.dart b/lib/src/widgets/sizedbox.g.dart index b7131ba2..7d77a9cf 100644 --- a/lib/src/widgets/sizedbox.g.dart +++ b/lib/src/widgets/sizedbox.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [SizedBox] auto-generated by spot /// diff --git a/lib/src/widgets/slider.g.dart b/lib/src/widgets/slider.g.dart index 06137e04..f6d66cae 100644 --- a/lib/src/widgets/slider.g.dart +++ b/lib/src/widgets/slider.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Slider] auto-generated by spot /// diff --git a/lib/src/widgets/switch.g.dart b/lib/src/widgets/switch.g.dart index 16c9ac72..15257767 100644 --- a/lib/src/widgets/switch.g.dart +++ b/lib/src/widgets/switch.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Switch] auto-generated by spot /// diff --git a/lib/src/widgets/text.g.dart b/lib/src/widgets/text.g.dart index ac94cf12..bd3b5c61 100644 --- a/lib/src/widgets/text.g.dart +++ b/lib/src/widgets/text.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Text] auto-generated by spot /// diff --git a/lib/src/widgets/textbutton.g.dart b/lib/src/widgets/textbutton.g.dart index 158c6561..7747eba1 100644 --- a/lib/src/widgets/textbutton.g.dart +++ b/lib/src/widgets/textbutton.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [TextButton] auto-generated by spot /// diff --git a/lib/src/widgets/textfield.g.dart b/lib/src/widgets/textfield.g.dart index c72858aa..f83e7826 100644 --- a/lib/src/widgets/textfield.g.dart +++ b/lib/src/widgets/textfield.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [TextField] auto-generated by spot /// diff --git a/lib/src/widgets/tooltip.g.dart b/lib/src/widgets/tooltip.g.dart index 7fb465c6..8f28b07e 100644 --- a/lib/src/widgets/tooltip.g.dart +++ b/lib/src/widgets/tooltip.g.dart @@ -3,6 +3,7 @@ import 'package:flutter/material.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Tooltip] auto-generated by spot /// diff --git a/lib/src/widgets/wrap.g.dart b/lib/src/widgets/wrap.g.dart index 3fa9d583..fad51fff 100644 --- a/lib/src/widgets/wrap.g.dart +++ b/lib/src/widgets/wrap.g.dart @@ -4,6 +4,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:spot/spot.dart'; +import 'package:flutter/foundation.dart'; /// Matchers for [Wrap] auto-generated by spot ///