CustomIcon constructor

const CustomIcon({
  1. Key? key,
  2. required String file,
  3. required double size,
  4. Color? color,
  5. double? opacity,
})

Implementation

const CustomIcon(
    {Key? key,
    required this.file,
    required this.size,
    this.color,
    this.opacity})
    : super(key: key);