multi_editor_core 0.1.0 copy "multi_editor_core: ^0.1.0" to clipboard
multi_editor_core: ^0.1.0 copied to clipboard

Core domain layer for MultiEditor - a multi-file code editor. Provides entities, value objects, repositories, and domain services following Clean Architecture and DDD principles.

multi_editor_core #

Core domain layer for MultiEditor - a multi-file code editor built with Flutter.

Features #

  • Entities: Core business entities (FileDocument, FileTreeNode)
  • Value Objects: Type-safe value objects for domain logic
  • Repositories: Repository interfaces following Clean Architecture
  • Domain Services: Business logic services
  • Event System: Domain events for file operations

Architecture #

This package follows:

  • Clean Architecture - separation of concerns, dependency inversion
  • Domain-Driven Design (DDD) - entities, value objects, aggregates
  • SOLID Principles - maintainable and testable code

Installation #

```yaml dependencies: multi_editor_core: ^0.1.0 ```

Usage #

```dart import 'package:multi_editor_core/editor_core.dart';

// Create a file document final file = FileDocument( id: 'file1', name: 'main.dart', content: 'void main() {}', language: 'dart', );

// Create a file tree node final node = FileTreeNode.file( id: 'node1', name: 'main.dart', language: 'dart', ); ```

Documentation #

For complete documentation, visit the GitHub repository.

License #

MIT License - see LICENSE file for details.

0
likes
0
points
410
downloads

Publisher

unverified uploader

Weekly Downloads

Core domain layer for MultiEditor - a multi-file code editor. Provides entities, value objects, repositories, and domain services following Clean Architecture and DDD principles.

Repository (GitHub)
View/report issues

Topics

#editor #code-editor #domain-driven-design #clean-architecture #flutter

License

unknown (license)

Dependencies

freezed_annotation, json_annotation

More

Packages that depend on multi_editor_core