treeify 0.0.1-nullsafety.2 copy "treeify: ^0.0.1-nullsafety.2" to clipboard
treeify: ^0.0.1-nullsafety.2 copied to clipboard

discontinuedreplaced by: console

A dart port of the treeify.js for creating trees or directory structures to be printed to console

example/main.dart

import 'package:treeify/treeify.dart';

void main() {
  final folderStructure = {
    '/': {
      'Users': {
        'foo': {
          'Desktop': null,
          'Documents': null,
        },
        'Shared': null,
      },
      'System': {
        'Library': null,
        'Volumes': null,
      },
    }
  };

  final tree = Treeify.asTree(folderStructure, false);

  print(tree);
}
1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A dart port of the treeify.js for creating trees or directory structures to be printed to console

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on treeify