Skip to main content

flutter_folderview 0.12.0 copy "flutter_folderview: ^0.12.0" to clipboard
flutter_folderview: ^0.12.0 copied to clipboard

A customizable Flutter widget for displaying hierarchical data in tree and folder views with rich theming support.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_example_template/flutter_example_template.dart';

import 'app/destinations.dart';

void main() => runApp(const MyApp());

/// The example app: the shell over [FolderViewDestinations].
class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _themeController = ExampleThemeController(ThemeMode.light);

  @override
  void dispose() {
    _themeController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return ExampleThemeScope(
      controller: _themeController,
      child: ListenableBuilder(
        listenable: _themeController,
        builder: (context, _) => MaterialApp(
          debugShowCheckedModeBanner: false,
          title: 'FlutterFolderView Examples',
          theme: exampleTheme(Brightness.light),
          darkTheme: exampleTheme(Brightness.dark),
          themeMode: _themeController.mode,
          home: const ShellPage(
            title: 'FlutterFolderView Examples',
            createDestinations: FolderViewDestinations.new,
          ),
        ),
      ),
    );
  }
}
3
likes
160
points
493
downloads

Documentation

API reference

Publisher

verified publisherkihyun1998.com

Weekly Downloads

A customizable Flutter widget for displaying hierarchical data in tree and folder views with rich theming support.

Repository (GitHub)
View/report issues

Topics

#folderview #tree #folder #treeview #explorer

License

MIT (license)

Dependencies

flutter, flutter_smooth_wheel_scroll, just_tooltip

More

Packages that depend on flutter_folderview