instrumentation_adapter 0.1.3 instrumentation_adapter: ^0.1.3 copied to clipboard
Runs tests that use the flutter_test API as integration tests.
import 'dart:io' show Platform;
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Platform: ${Platform.operatingSystem}\n'),
),
),
);
}
}