AuthIcon constructor
Implementation
AuthIcon({
this.iconPath,
this.iconUrl,
this.color,
this.iconSize = 40,
super.key,
}) : assert(
iconPath != null && iconPath.isNotEmpty && !iconPath.contains(' ') ||
iconUrl != null && iconUrl.isNotEmpty && !iconUrl.contains(' '),
'Must provide an icon source, which must be not blank',
),
assert(
iconPath == null || iconUrl == null,
'Cannot accept two icon sources.',
);