FlutterFolderViewTheme.light constructor

FlutterFolderViewTheme.light()

Creates a light theme with sensible defaults

Implementation

factory FlutterFolderViewTheme.light() {
  return FlutterFolderViewTheme(
    lineTheme: FolderViewLineTheme(
      lineColor: const Color(0xFF9E9E9E), // Grey 500
      lineWidth: 1.5,
      lineStyle: LineStyle.connector,
    ),
    scrollbarTheme: FolderViewScrollbarTheme(
      thumbColor: Colors.grey.shade600,
      trackColor: Colors.grey.shade200,
    ),
    textTheme: const FolderViewTextTheme(
      textStyle: TextStyle(color: Colors.black87),
      selectedTextStyle: TextStyle(fontWeight: FontWeight.bold),
    ),
    iconTheme: FolderViewIconTheme(
      iconSize: 20.0,
      iconColor: Colors.grey.shade700,
      selectedIconColor: Colors.blue.shade700,
    ),
    spacingTheme: const FolderViewSpacingTheme(),
  );
}