1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00

Upgrade null safety example (#748)

This commit is contained in:
Michael Thomsen
2021-03-03 22:01:08 +01:00
committed by GitHub
parent 8c1cd0b049
commit b0e8686fe9
144 changed files with 33 additions and 35 deletions

View File

@@ -0,0 +1,15 @@
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import 'package:flutter_test/flutter_test.dart';
void main() {
testWidgets('Rendering the page throws an exception',
(WidgetTester tester) async {
// Do nothing, running the app throws an exception on widget render.
});
}