diff --git a/example/pubspec.yaml b/example/pubspec.yaml index b6fd458..2e50f10 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -6,7 +6,6 @@ dependencies: sdk: flutter phoenix_wings: path: '../' - intl: "^0.15.6" # The following adds the Cupertino Icons font to your application. @@ -16,7 +15,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - + intl: "^0.15.6" # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec diff --git a/example/test/widget_test.dart b/example/test/widget_test.dart deleted file mode 100644 index 63d397c..0000000 --- a/example/test/widget_test.dart +++ /dev/null @@ -1,29 +0,0 @@ -// 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/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:example/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(new MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -} diff --git a/pubspec.yaml b/pubspec.yaml index 2710f1e..0cbac4c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,13 @@ author: mfeckie homepage: https://github.com/mfeckie/phoenix_wings dev_dependencies: + flutter: + sdk: flutter dartdoc: "0.19.0" test: "0.12.37" mockito: "^2.2.1" stream_channel: "^1.6.4" + intl: "^0.15.6" + +environment: + sdk: '>=1.2.3 <3.0.0' \ No newline at end of file