NNBD integration_test (#74922)
This commit is contained in:
@@ -36,7 +36,7 @@ void main() {
|
||||
find.byWidgetPredicate(
|
||||
(Widget widget) =>
|
||||
widget is Text &&
|
||||
widget.data.startsWith('Platform: ${Platform.operatingSystem}'),
|
||||
widget.data!.startsWith('Platform: ${Platform.operatingSystem}'),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
|
||||
@@ -30,7 +30,7 @@ void main() {
|
||||
find.byWidgetPredicate(
|
||||
(Widget widget) =>
|
||||
widget is Text &&
|
||||
widget.data
|
||||
widget.data!
|
||||
.startsWith('Platform: ${html.window.navigator.platform}\n'),
|
||||
),
|
||||
findsOneWidget,
|
||||
|
||||
@@ -34,7 +34,7 @@ void main() {
|
||||
find.byWidgetPredicate(
|
||||
(Widget widget) =>
|
||||
widget is Text &&
|
||||
widget.data.startsWith('Platform: ${Platform.operatingSystem}'),
|
||||
widget.data!.startsWith('Platform: ${Platform.operatingSystem}'),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
|
||||
@@ -34,7 +34,7 @@ void main() {
|
||||
find.byWidgetPredicate(
|
||||
(Widget widget) =>
|
||||
widget is Text &&
|
||||
widget.data
|
||||
widget.data!
|
||||
.startsWith('Platform: ${html.window.navigator.platform}\n'),
|
||||
),
|
||||
findsOneWidget,
|
||||
|
||||
Reference in New Issue
Block a user