DeviceApplication constructor
DeviceApplication({})
Implementation
DeviceApplication({
required this.appName,
this.appEntry,
this.onTap,
this.appNameStyle,
this.iconImage,
this.iconImageWidget,
this.isBigWidget = false,
}) :
/// "iconImage and iconImageWidget can't be use at the same time" , "appEntry and onTap can't be null at the same time", "appName, iconImage and iconImageWidget can't be null at the same time"
assert(
(iconImage != null && iconImageWidget == null) ||
(iconImage == null && iconImageWidget != null),
"iconImage and iconImageWidget can't be use at the same time"),
assert(
(appEntry != null && onTap == null) ||
(appEntry == null && onTap != null),
"appEntry and onTap can't be null at the same time");