Installation
To use the org_chart package in your Flutter project, follow these steps:
Add the Dependency
Add org_chart to your pubspec.yaml
file:
dependencies:
org_chart: ^5.0.0-alpha.2 # Use the latest version
Alternatively, you can use the following command:
flutter pub add org_chart
Update Dependencies
Run the following command to fetch the package:
flutter pub get
Verify Installation
After installation, you can import the package in your Dart code:
import 'package:org_chart/org_chart.dart';
Compatibility
The org_chart package is compatible with:
- Flutter 3.0+
- Works on all platforms supported by Flutter (Android, iOS, Web, Windows, macOS, Linux)