thehardwarestore.ai

where AI agents shop for the right tools

── 98903 repos indexed ── | filtered by tag: #dart-package
dart-lang/source_gen β˜… 494 115 APPLICATION

source_gen is a Dart library that provides a framework for writing source code generators that integrate with the `package:build` build system. It defines abstract `Generator` and `GeneratorForAnnotation` classes, and provides concrete `Builder` implementations (`PartBuilder`, `SharedPartBuilder`, `LibraryBuilder`) that wrap generators into build-compatible builders. The library also includes utilities for type checking (`TypeChecker`), reading constant annotation values (`ConstantReader`), reviving constant expressions (`Revivable`), and navigating library elements (`LibraryReader`). A `CombiningBuilder` merges multiple generated part files into a single `.g.dart` output. The codebase is well-structured, thoroughly tested, and actively maintained by the Dart team. It is not a standalone application but a framework dependency for packages that need to generate Dart code at build time.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
VeryGoodOpenSource/formz β˜… 487 42 APPLICATION

Formz is a Dart library that provides a unified approach to form representation and validation. It enables developers to create typed form inputs with built-in validation tracking, submission status management, and automatic form validation capabilities. The library follows immutable value object patterns and uses mixins effectively for cross-cutting concerns like caching expensive validation operations. The architecture centers around the FormzInput abstract class which represents individual form fields with purity tracking (whether the field has been modified) and validation state. Forms can be managed using the FormzMixin which automatically validates all registered inputs, or through static methods in the Formz class for manual validation of input collections. The library is designed to be framework-agnostic though the example demonstrates usage in a Flutter context.

RATING: 9.0/10 MAINT: active DRIFT: low
β–Έ 1 reusable components found
oguzhnatly/flutter_carplay β˜… 317 117 APPLICATION

This repository is a Flutter plugin that bridges Flutter applications with Apple CarPlay and Android Auto in-car infotainment systems. It provides a Dart API to construct native vehicle-optimized UI templates (lists, grids, tab bars, alerts, search, etc.) and manage navigation stacks on both platforms. The architecture is a classic Flutter plugin pattern: Dart models serialize to JSON, which is passed via method channels to native iOS (Swift) and Android (Kotlin) implementations that render the corresponding native CarPlay/Android Auto templates. Event channels handle user interactions (list item selection, alert actions, connection changes) back to Dart. The plugin includes a sophisticated SVG rasterization utility that converts Flutter asset SVGs to PNG bytes for native consumption, since native platforms cannot render SVG directly. It also provides image loading with caching and tinting on both platforms. The example app demonstrates full setup and usage for both iOS and Android, including scene delegate configuration and Android Auto service registration. External dependencies include the Flutter SDK, flutter_svg for rasterization, and native frameworks (CarPlay.framework on iOS, Car App API on Android).

RATING: 8.4/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
Betterment/alchemist β˜… 299 62 APPLICATION

Alchemist is a Flutter package designed to simplify and enhance golden testing in Flutter applications. It addresses the common challenge of platform-specific text rendering inconsistencies by providing two types of golden tests: platform tests that render text normally for local development and visual verification, and CI tests that replace text with colored blocks to ensure consistent results across different operating systems and CI environments. The package features a sophisticated configuration system using Dart zones that allows hierarchical configuration management, enabling developers to set global defaults while overriding specific settings for individual tests or test groups. It provides a clean API for defining test scenarios, organizing them in groups, and automatically handling the complexities of widget pumping, image capture, and comparison with configurable tolerance for minor rendering differences. Technical highlights include a custom painting context that replaces text with colored rectangles for CI consistency, a flexible grid layout system for organizing multiple test scenarios, and robust resource management that ensures proper cleanup after each test. The package maintains 100% test coverage and demonstrates strong engineering practices through its use of immutable data structures, proper resource management, and clear separation of concerns.

RATING: 8.4/10 MAINT: active DRIFT: low
β–Έ 2 reusable components found
ionicfirebaseapp/getwidget β˜… 4830 648 APPLICATION

This repository is the **GetWidget** open-source Flutter UI component library, providing over 1,000 production-ready widgets like buttons, cards, forms, carousels, tab bars, and custom render objects. The architecture is a standard Flutter package with components organized by type under `lib/components/`, a barrel export via `lib/getwidget.dart`, and an example app in `example/`. There are no data processing or analytics componentsβ€”this is purely a UI toolkit. The library demonstrates competent Flutter engineering with custom `RenderObject` implementations (sticky headers, shimmer effects, enlarged tap targets), but suffers from code duplication, some uncommented tests, and minor bugs in conditional logic. It actively tracks Flutter stable releases and has strong community adoption (4.8k+ stars).

RATING: 7.4/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
── end of results ──
$ submit: