Skip to main content

mive_route 2.0.1 copy "mive_route: ^2.0.1" to clipboard
mive_route: ^2.0.1 copied to clipboard

A powerful command-line tool for generating Go Router configuration files in Dart/Flutter projects. Automate the creation and management of typed routes with automatic code generation.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate mive_route

Use it

The package has the following executables:

$ mive_routes

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add mive_route

With Flutter:

 $ flutter pub add mive_route

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  mive_route: ^2.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mive_route/data/file_writer.dart';
import 'package:mive_route/data/repositories/file_system_route_repository.dart';
import 'package:mive_route/data/template_generator.dart';
import 'package:mive_route/domain/entities/route_entity.dart';
import 'package:mive_route/domain/repositories/route_repository.dart';
import 'package:mive_route/presentation/cli/ascii_art_generator.dart';
import 'package:mive_route/presentation/route_generator.dart';
import 'package:mive_route/use_cases/generate_route_use_case.dart';
1
likes
100
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful command-line tool for generating Go Router configuration files in Dart/Flutter projects. Automate the creation and management of typed routes with automatic code generation.

Repository (GitHub)

License

unknown (license)

Dependencies

args, go_router

More

Packages that depend on mive_route