zuraffa 6.2.0 copy "zuraffa: ^6.2.0" to clipboard
zuraffa: ^6.2.0 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
0
points
5.69k
downloads

Documentation

Documentation

Publisher

verified publisherzuraffa.com

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

Topics

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

License

unknown (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