Skip to content
pubscout

dart_frog_gen

2.1.1, released 2 days ago by dart-frog.dev

Code generation tooling for Dart Frog backend applications.

Rock solid
$ flutter pub add dart_frog_gen
Source repository

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.