SvgIcon constructor

const SvgIcon({
  1. Key? key,
  2. required SvgIconData icon,
  3. bool responsiveColor = true,
  4. double? size,
  5. Color? color,
})

Create an instance of SvgIcon

Implementation

const SvgIcon(
    {Key? key,
    required this.icon,
    this.responsiveColor = true,
    this.size,
    this.color})
    : super(key: key);