NiceDesktop constructor

const NiceDesktop({
  1. Key? key,
  2. List<NiceDesktopIcon> icons = const [],
  3. List<NiceTaskbarItem> taskbarItems = const [],
  4. List<NiceStartMenuItem> startMenuItems = const [],
  5. String? startMenuLabel,
  6. IconData? startMenuIcon,
  7. List<NiceSystemTrayItem> systemTrayItems = const [],
  8. bool showClock = true,
  9. ImageProvider<Object>? wallpaper,
  10. Color? wallpaperColor,
  11. _DesktopBarPosition taskbarPosition = _DesktopBarPosition.bottom,
  12. double iconSize = 64,
  13. int gridColumns = 8,
  14. void onIconDoubleClick(
    1. String key
    )?,
  15. void onStartMenuClick(
    1. String key
    )?,
  16. void onTaskbarItemClick(
    1. String key
    )?,
  17. void onSystemTrayClick(
    1. String key
    )?,
  18. Widget? child,
})

Implementation

const NiceDesktop({
  super.key,
  this.icons = const [],
  this.taskbarItems = const [],
  this.startMenuItems = const [],
  this.startMenuLabel,
  this.startMenuIcon,
  this.systemTrayItems = const [],
  this.showClock = true,
  this.wallpaper,
  this.wallpaperColor,
  this.taskbarPosition = _DesktopBarPosition.bottom,
  this.iconSize = 64,
  this.gridColumns = 8,
  this.onIconDoubleClick,
  this.onStartMenuClick,
  this.onTaskbarItemClick,
  this.onSystemTrayClick,
  this.child,
});