SvgIcon constructor

const SvgIcon({
  1. Key? key,
  2. Size size = const Size(40, 40),
  3. required String assetPath,
  4. GestureTapCallback? onTap,
  5. Color? color,
})

Implementation

const SvgIcon(
    {super.key,
    this.size = const Size(40, 40),
    required this.assetPath,
    this.onTap,
    this.color});