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

Directory Tree

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

Getting Started

Import and initialize package

import 'package:dir_tree/dir_tree.dart';

Documentation

Get a Directory Tree

final files = await DirectoryTree.get(
      path: '.',
      options: DirectoryTreeOptions(
        extensions: [
          '.dart',
        ],
      ),
    );

GitHub

https://github.com/Zfinix/dir_tree