Favicon of flutter-add-widget-test

flutter-add-widget-test Skill

AI Agent SkillDartOpen source

Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected. Published by flutter in agent-plugins.

What is flutter-add-widget-test Skill?

Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected. Published by flutter in agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
85/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Data analysis
  • Design and media
  • Writing
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use flutter-add-widget-test Skill

  • Use it for testing.
  • Use it for data analysis.
  • Use it for design and media.
  • Use it for writing.

Built with

DartCopy skill directory

Editorial notes

Source

  • Creator: flutter
  • Repository: flutter/agent-plugins
  • Skill file: skills/flutter-add-widget-test/SKILL.md

What it does

Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when validating that a specific widget displays correct data and responds to events as expected.

Skill instructions

Writing Flutter Widget Tests Contents - Setup & Configuration - Core Components - Workflow: Implementing a Widget Test - Interaction & State Management - Examples Setup & Configuration Ensure the testing environment is properly configured before authoring widget tests. 1. Add the fluttertest dependency to the devdependencies section of pubspec.yaml. 2. Place all test files in the test/ directory at the root of the project. 3. Suffix all test file names with test.dart (e.g., widgettest.dart). Core Components Utilize the following fluttertest components to interact with and validate the widget tree: WidgetTester: The primary interface for building and interacting with widgets in the test environment. Provided automatically by the testWidgets() function. Finder: Locates widgets in the test environment (e.g., find.text('Submit'), find.byType(TextField), find.byKey(Key('submitbtn'))). Matcher: Verifies the presence or state of widgets located by a Finder (e.g., findsOneWidget, findsNothing,

Explore related resources

Frequently asked questions

What is flutter-add-widget-test?

flutter-add-widget-test is a open-source AI agent skill with Copy skill directory. Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text).

Who is flutter-add-widget-test best for?

flutter-add-widget-test is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows, design and media workflows.

How do I install flutter-add-widget-test?

Install or run flutter-add-widget-test using Copy skill directory. Check flutter-add-widget-test for the latest setup command.

Is flutter-add-widget-test actively maintained?

flutter-add-widget-test may need a closer maintenance check before production use.

Share:

Stars
2,641
Forks
154
Last commit
9 days ago
Repository age
5 months
License
BSD-3-Clause

Auto-fetched from GitHub.

Similar to flutter-add-widget-test