dxf
3.1.3, released 3 years ago by humg.edu.vn
DXF package for Dart to create, read, update and delete AutoCAD DXF files.
WASM-ready
What it does
Provides Dart classes representing DXF entities and utilities to generate DXF strings or parse existing DXF content. Supports common entities like lines, circles, arcs, polylines, text, etc.
AI-written summary of version 3.1.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to generate or read DXF files in a pure Dart/Flutter project
- You want a lightweight, pure‑Dart solution without native dependencies
Skip it when
- You require advanced CAD features or full DXF spec coverage
- Performance‑critical rendering of large CAD files is needed
Strengths
- Pure Dart, works on all Flutter platforms
- Supports a range of basic DXF entities
- Null‑safe and easy to add to pubspec
Weaknesses
- Limited entity coverage compared to full CAD libraries
- Documentation is minimal
- No active mention of recent maintenance
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:dxf/dxf.dart';
void main() {
final dxf = DXF.create();
var line = AcDbLine(x: 3.6, y: 14.3, x1: 8.08, y1: 15.3);
dxf.addEntities(line);
print(dxf.dxfString);
}Alternatives
Packages that do the same job and could replace dxf.
- flutter_flavorizr
A utility to easily create and configure application flavors in Flutter.
86Compare - resource_portable
Read resource data and files in a portable way across VM, Web, and Flutter.
70Compare - ini
Read and write INI configuration files in pure Dart
44Compare - aes_crypt_null_safe
Dart encryption library for files, plain text and binary data using AES Crypt format.
53Compare