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