IconStyle constructor
IconStyle({
- dynamic iconsColor = Colors.white,
- dynamic withBackground = true,
- dynamic backgroundColor = Colors.blue,
- dynamic borderRadius = 8,
Implementation
IconStyle({
iconsColor = Colors.white,
withBackground = true,
backgroundColor = Colors.blue,
borderRadius = 8,
}) : this.iconsColor = iconsColor,
this.withBackground = withBackground,
this.backgroundColor = backgroundColor,
this.borderRadius = double.parse(borderRadius!.toString());