FlutterFolderViewTheme<T> constructor

const FlutterFolderViewTheme<T>({
  1. required FolderViewLineTheme lineTheme,
  2. required FolderViewScrollbarTheme scrollbarTheme,
  3. FolderNodeTheme<T> folderTheme = const FolderNodeTheme(),
  4. ParentNodeTheme<T> parentTheme = const ParentNodeTheme(),
  5. ChildNodeTheme<T> childTheme = const ChildNodeTheme(),
  6. ExpandIconTheme expandIconTheme = const ExpandIconTheme(),
  7. FolderViewSpacingTheme spacingTheme = const FolderViewSpacingTheme(),
  8. FolderViewNodeStyleTheme nodeStyleTheme = const FolderViewNodeStyleTheme(),
  9. int animationDuration = 200,
  10. double rowHeight = 40.0,
  11. double rowSpacing = 0.0,
})

Creates a FlutterFolderViewTheme with the given properties

Implementation

const FlutterFolderViewTheme({
  required this.lineTheme,
  required this.scrollbarTheme,
  this.folderTheme = const FolderNodeTheme(),
  this.parentTheme = const ParentNodeTheme(),
  this.childTheme = const ChildNodeTheme(),
  this.expandIconTheme = const ExpandIconTheme(),
  this.spacingTheme = const FolderViewSpacingTheme(),
  this.nodeStyleTheme = const FolderViewNodeStyleTheme(),
  this.animationDuration = 200,
  this.rowHeight = 40.0,
  this.rowSpacing = 0.0,
});