Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

widget_test.dart 897B

12345678910111213141516171819202122232425
  1. // This is a basic Flutter widget test.
  2. // To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter
  3. // provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to
  4. // find child widgets in the widget tree, read text, and verify that the values of widget properties
  5. // are correct.
  6. import 'package:flutter/material.dart';
  7. import 'package:flutter_test/flutter_test.dart';
  8. import 'package:vibrate_example/main.dart';
  9. void main() {
  10. testWidgets('Verify Platform version', (WidgetTester tester) async {
  11. // Build our app and trigger a frame.
  12. await tester.pumpWidget(new MyApp());
  13. // Verify that platform version is retrieved.
  14. expect(
  15. find.byWidgetPredicate(
  16. (Widget widget) =>
  17. widget is Text && widget.data.startsWith('Running on:'),
  18. ),
  19. findsOneWidget);
  20. });
  21. }