FlutterFolderViewTheme.dark constructor

FlutterFolderViewTheme.dark()

Creates a dark theme with sensible defaults

Implementation

factory FlutterFolderViewTheme.dark() {
  return FlutterFolderViewTheme(
    lineTheme: FolderViewLineTheme(
      lineColor: const Color(0xFF757575), // Grey 600
      lineWidth: 1.5,
      lineStyle: LineStyle.connector,
    ),
    scrollbarTheme: FolderViewScrollbarTheme(
      thumbColor: Colors.grey.shade400,
      trackColor: Colors.grey.shade800,
    ),
    textTheme: const FolderViewTextTheme(
      textStyle: TextStyle(color: Colors.white70),
      selectedTextStyle: TextStyle(fontWeight: FontWeight.bold),
    ),
    iconTheme: FolderViewIconTheme(
      iconSize: 20.0,
      iconColor: Colors.grey.shade400,
      selectedIconColor: Colors.blue.shade300,
    ),
    spacingTheme: const FolderViewSpacingTheme(),
  );
}