dart-expert

Provides Dart and Flutter guidance with code examples for common development tasks.

Updated Jun 27, 2025
One-click install
npx skills add https://github.com/slym1v98/flownest-flutter --skill dart-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dart-expert
Source: https://github.com/slym1v98/flownest-flutter/tree/main/.agents/skills/dart-expert
Command: npx skills add https://github.com/slym1v98/flownest-flutter --skill dart-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance and code examples for Dart programming and the Flutter framework, enabling developers to build robust mobile and cross-platform applications efficiently.

Core Features & Use Cases

  • Dart Language Fundamentals: Covers variables, null safety, collections, functions, classes, mixins, and extensions.
  • Asynchronous Programming: Demonstrates Futures, Streams, and error handling.
  • Flutter Widgets & State Management: Includes examples of Stateless/Stateful widgets, Provider, and navigation.
  • API Integration: Shows how to make HTTP requests and handle JSON data.
  • Best Practices & Anti-Patterns: Offers guidance on writing clean, performant code.

Quick Start

Provide me with a Dart code snippet for a StatefulWidget that increments a counter when a button is pressed.

Frequently Asked Questions about dart-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage state in a Flutter application using Provider?

To manage state in a Flutter application, this Skill provides expert examples of using Provider with Stateful widgets, detailing navigation and state propagation while highlighting common anti-patterns to avoid.

What is the best way to handle asynchronous programming with Dart Streams and Futures?

Handling asynchronous programming with Dart involves using Futures and Streams, and this Skill demonstrates their implementation alongside error handling techniques to ensure robust cross-platform applications.

How do I make HTTP requests and parse JSON data in Dart for API integration?

API integration in Dart is achieved by making HTTP requests and handling JSON data, and this Skill offers code examples and best practices for connecting your Flutter widgets to external services.

Can I use Dart mixins and extensions to write cleaner cross-platform mobile code?

Dart mixins and extensions are fully supported for cross-platform mobile development, and this Skill provides expert-level knowledge on leveraging language fundamentals to write performant, reusable code.

What are common anti-patterns when building Flutter widgets?

Common anti-patterns when building Flutter widgets often involve inefficient state management or improper widget tree structures, and this Skill identifies these issues while offering best practices for clean code.