zuraffa 6.2.2 copy "zuraffa: ^6.2.2" to clipboard
zuraffa: ^6.2.2 copied to clipboard

AI first Clean Architecture Framework and CLI with Result types, UseCase patterns, Dependency Injection and MCP server for building type-safe, scalable apps with AI agents.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'setup.dart';
import 'src/presentation/todo_controller.dart';
import 'src/presentation/todo_page.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final controller = await setup();

  runApp(TodoApp(controller: controller));
}

/// Minimal app shell hosting [TodoPage].
class TodoApp extends StatelessWidget {
  const TodoApp({super.key, required this.controller});

  final TodoController controller;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Zuraffa Todo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(colorSchemeSeed: Colors.indigo, useMaterial3: true),
      home: TodoPage(controller: controller),
    );
  }
}
2
likes
130
points
3.57k
downloads

Documentation

Documentation
API reference

Publisher

verified publisherzuzu.dev

Weekly Downloads

AI first Clean Architecture Framework and CLI with Result types, UseCase patterns, Dependency Injection and MCP server for building type-safe, scalable apps with AI agents.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#clean-architecture #state-management #dependency-injection #architecture #code-generation

License

MIT (license)

Dependencies

analyzer, archive, args, code_builder, crypto, dart_style, get_it, glob, gql, graphql, hive_ce, http, json_annotation, json_serializable, logging, meta, minio, nocterm, opentelemetry, path, uuid, vm_service, yaml, zorphy, zorphy_annotation

More

Packages that depend on zuraffa