dart_frog_gen
2.1.1, released 2 days ago by dart-frog.dev
Code generation tooling for Dart Frog backend applications.
Rock solid
What it does
Provides code generation tooling for Dart Frog, a fast and minimalistic backend framework for Dart. It allows developers to build route configurations from directories.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a backend application using the Dart Frog framework.
- You need to automatically build and manage route configurations for your project.
Skip it when
- You are not using the Dart Frog framework.
- You are building a standard Flutter frontend application.
Strengths
- Automates route configuration building for Dart Frog.
- Integrates seamlessly with the Dart Frog backend ecosystem.
Weaknesses
- Strictly tied to the Dart Frog framework and has little use outside of it.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add to dependencies and use via Dart code or the Dart Frog CLI.
import 'dart:io';
import 'package:dart_frog_gen/dart_frog_gen.dart';
void main() {
final routeConfiguration = buildRouteConfiguration(Directory.current);
// Use the route configuration...
}Alternatives
Packages that do the same job and could replace dart_frog_gen.
Works with
Packages commonly used together with dart_frog_gen: ones it builds on, ones built on it, and its own family.
- pubspec_parsedart_frog_gen depends on itParse pubspec.yaml files with a type‑safe API and detailed error reporting.
- equatabledart_frog_gen depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- dart_frogSame familyA minimalistic Dart backend framework with a built‑in dev server and Docker support.
- dart_frog_lintSame familyProvides Dart Frog‑specific lint rules for static analysis.
- dart_frog_web_socketSame familyWebSocket support for the Dart Frog backend framework.
- dart_frog_authSame familyOfficial authentication library and middleware for the Dart Frog backend server framework.
- dart_frog_cliBuilt on dart_frog_genOfficial command-line interface for the Dart Frog backend framework.