Icon constructor
Icon(})
Creates a Lucide icon (default).
Implementation
Icon(
this.name, {
super.key,
this.size = 24,
this.color,
this.className,
this.style,
this.classBuilder,
}) : prefix = 'icon',
assert(name.isNotEmpty, 'Icon name cannot be empty'),
assert(size > 0, 'Icon size must be positive');