Top "Flutter-test" questions

Flutter-Test contains tests related to Flutter app including Unit tests, Widget test and end-to-end integration tests using Flutter-Driver.

How to solve "Unable to find git in your PATH" on Flutter?

I've just tried to install Flutter on Linux and when I try to run a flutter command (flutter doctor), I'm …

git flutter flutter-dependencies flutter-test
Flutter : Target file "lib/main.dart" not found

When I perform a flutter run I get an error Target file "lib/main.dart" not found. Why is this …

flutter flutter-dependencies flutter-test
How to Make Two Floating Action Button in Flutter?

Created counter app with one floating action button. If i want to add one more button for reset the counter, …

dart flutter flutter-layout flutter-test
Unable to locate Android SDK

I already had android studio and the android sdk installed,I later added flutter and flutter sdk. Here is my …

android flutter android-sdk-tools flutter-layout flutter-test
Another exception was thrown: type 'MyApp' is not a subtype of type 'StatelessWidget'

I have just started using Flutter and i'm having this problem while running my code "Another exception was thrown: type …

flutter flutter-test
How to solve Not found: 'dart:ui' error while running integration tests on Flutter

I have an app, it is very simple and have just one widget. It is working fine, however when I …

dart flutter flutter-test
Dart/Flutter Web unit testing errors: Error: Not found: 'dart:html'

I'm working on a Flutter web app and I'm having trouble running a test. Flutter 1.7.8+hotfix.4 • channel stable • git@github.…

flutter dart flutter-test flutter-web
Because every version of flutter_test from sdk depends on... flutter_test from sdk is forbidden, version solving failed

I'm having this issue when I've added http dependency in my flutter project. Can anyone please help me with it?

flutter flutter-dependencies flutter-test
ERROR in flutter: widget_test.dart cannot detect MyApp()

Being a total beginner I am trying out various flutter feature and I am stuck at running the main.dart …

flutter-test
How to test navigation via Navigator in Flutter

Let's say, I have a test for a screen in Flutter using WidgetTester. There is a button, which executes a …

dart flutter flutter-test