NiceDesktop constructor
const
NiceDesktop({
- Key? key,
- List<
NiceDesktopIcon> icons = const [], - List<
NiceTaskbarItem> taskbarItems = const [], - List<
NiceStartMenuItem> startMenuItems = const [], - String? startMenuLabel,
- IconData? startMenuIcon,
- List<
NiceSystemTrayItem> systemTrayItems = const [], - bool showClock = true,
- ImageProvider<
Object> ? wallpaper, - Color? wallpaperColor,
- _DesktopBarPosition taskbarPosition = _DesktopBarPosition.bottom,
- double iconSize = 64,
- int gridColumns = 8,
- void onIconDoubleClick(
- String key
- void onStartMenuClick(
- String key
- void onTaskbarItemClick(
- String key
- void onSystemTrayClick(
- String key
- 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,
});