IconStyle constructor

IconStyle({
  1. dynamic iconsColor = Colors.white,
  2. dynamic withBackground = true,
  3. dynamic backgroundColor = Colors.blue,
  4. 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());