IconUtils extension
🗜️ Icon Utilities
- 📋
copyWith
optional replacement values - 👆
operator >(VoidCallback onTap)
➡ IconButton - ➕
operator +(inflate)
➡size += inflation
- ➖
operator -(deflate)
➡size -= deflation
- ❌
operator *(dynamic operation)
- ❓
operation is Color
➡color = operation
- ❓
operation is num
➡size *= operation
- ❓
- 💥
operator %(dynamic modulation)
- ❓
modulation is List<Color>
➡color = modulation[Random()]
- ❓
modulation is List<num>
➡sizeX *= modulation[random]
&sizeY *= modulation[random]
- ❓
- on
Methods
Operators
-
operator %(
dynamic modulation) → Icon - 💥 "Modulate" this Icon Randomly
-
operator &(
dynamic padding) → Widget - 🧦 "And" this Icon
-
operator *(
dynamic operation) → Icon - ❌ "Multiply" an Icon
-
operator +(
num inflation) → Icon - ➕ "Add" to Icon
-
operator -(
num deflation) → Icon - ➖ "Subtract" from Icon
-
operator >(
VoidCallback onTap) → IconButton - 👆 "Chevron" this Icon