Results for “Testing”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Guides
- Testing Flutter appsdoc
Learn more about the different types of testing and how to write them. The more features your app has, the harder it is to test manually
- An introduction to unit testingdoc
write unit tests. How can you ensure that your app continues to work as you add more features or change existing functionality? By writing tests. Unit
- An introduction to widget testingdoc
WidgetTester allows building and interacting with widgets in a test environment. The testWidgets() function automatically creates a new WidgetTester for each test case, and is used
- Integration testing conceptsdoc
Learn about integration testing in Flutter. Unit tests and widget tests validate individual classes, functions, or widgets. They don't validate how individual pieces work
- Mock dependencies using Mockitodoc
Mockito package to mimic the behavior of services for testing. Sometimes, unit tests might depend on classes that fetch data from live web services or databases
- Accessibility testingdoc
Information on Flutter's accessibility testing. Accessibility regulations To ensure your app is accessible, check it against public standards like the Web Content Accessibility Guidelines (WCAG
- Handle scrollingdoc
handle scrolling in a widget test. Many apps feature lists of content, from email clients to music apps and beyond. To verify that lists contain the expected
- Build and release an iOS appdoc
step walkthrough of releasing a Flutter app to the App Store and TestFlight . Preliminaries Xcode is required to build and release your app. You must use a device
- Tap, drag, and enter textdoc
test widgets for user interaction. Many widgets not only display information, but also respond to user interaction. This includes buttons that can be tapped, and TextField
- Find widgetsdoc
Finder classes for testing widgets. To locate widgets in a test environment, use the Finder classes. While it's possible to write your own Finder classes
- UI design & stylingdoc
contents when the font sizes are increased. For example, you can test all parts of your app on a small-screen device configured to use the largest
- Build and release an Android appdoc
prepare for and release an Android app to the Play store. To test an app, you can use flutter run at the command line
- Common architecture conceptsdoc
Learn about common architecture concepts in application design, and how they apply
- Writing custom platform-specific codedoc
Learn how to write custom platform-specific code in your app. This
- Guide to app architecturedoc
this guide can be applied to most apps, making them easier to scale, test, and maintain. However, they're guidelines, not steadfast rules, and you should adapt
- Accessibilitydoc
Information on Flutter's accessibility support. Background Ensuring that apps are accessible
- State management in Flutterdoc
Instructions on how to manage state with ChangeNotifiers. Learn to create a
- LayoutBuilder and adaptive layoutsdoc
Learn how to use the LayoutBuilder widget. Learn how to create layouts
- Create widgetsdoc
five-letter words (such as aback , abase , and abate ) for brevity. When testing your app later in this tutorial, only words defined in lib/game.dart are accepted
- Stack-based navigationdoc
Learn how to navigate from one page to another in a Flutter
- Fetch data from the internetdoc
How to fetch data over the internet using the http package. Fetching
- Simple app state managementdoc
A simple form of state management. Now that you know about declarative
- JSON and serializationdoc
How to use JSON with Flutter. It is hard to think of
- Flutter performance profilingdoc
Benchmarking : You can measure and track your app's performance by writing benchmark tests. The Flutter Driver library provides support for benchmarking. Using this integration test
- Architecture recommendations and resourcesdoc
Recommendations for building scalable Flutter applications. This page presents architecture best practices
- Fetch data from the internetdoc
Managing state in separate classes (outside your UI widgets) makes your code more testable, reusable, and easier to maintain. A single feature in your app contains each
- Architecting Flutter appsdoc
more people to contribute to the same codebase concurrently, with minimal code conflicts. Testability - Applications with inte
- Rebuild UI when state changesdoc
existing MainApp with this updated version: This change switches from the console-based test to the full UI experie
- DevToolsdoc
Learn to use the Dart DevTools when developing Flutter apps. Learn to
- Accessibility technologiesdoc
impairments and mobility support tools for those with motor limitations. By understanding and testing with these technologies, you can ensure your Flutter application provides a more inclusive
- Build and release a web appdoc
prepare for and release a web app. During a typical development cycle, you test an app using flutter run -d chrome (for example) at the command line
- Taps, drags, and other gesturesdoc
longer directed towards this app. On pointer down, the framework does a hit test on your app to determine which widget exists at the location where
- Flutter architectural overviewdoc
A high-level overview of the architecture of Flutter, including the core
- Build for and integrate with multiple platformsdoc
integrate with platform-specific features in Flutter apps. Flutter enables you to build, test, and deploy beautiful, natively compiled, multi-platform applications from a single codebase. Overview
- Simple animationsdoc
Learn the simplest way to implement animations in Flutter. Flutter provides a
- Parse JSON in the backgrounddoc
JSONPlaceholder REST API , using the http.get() method. This makes the function easier to test and use in different environmen
- Stateful widgetsdoc
Learn about StatefulWidgets and rebuilding Flutter UI. Learn when widgets need to
- Layoutdoc
Learn about common layout widgets in Flutter. Learn how to build layouts
- How Flutter worksdoc
Dive deeper into how Flutter works through a six-part video series
- Advanced scrolling and sliversdoc
Learn how to implement performant scrolling with slivers. In this lesson, you
- User inputdoc
Accept input from the user with buttons and text fields. Learn to