dir_tree 1.0.0 copy "dir_tree: ^1.0.0" to clipboard
dir_tree: ^1.0.0 copied to clipboard

A Dart library for creating a Dart object to represent directory trees.

example/main.dart

import 'package:dir_tree/dir_tree.dart';

void main(List<String> args) async {
  /// Get directory list
  final red = await DirectoryTree.get(path: '../lib/src/util');

  if (red != null) {
    var json = jsonPretty(red.toMap());
    print(json);
  }
}
1
likes
120
pub points
16%
popularity

Publisher

unverified uploader

A Dart library for creating a Dart object to represent directory trees.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable, path, test

More

Packages that depend on dir_tree