CustomIcon constructor

const CustomIcon(
  1. IconData icon, {
  2. Key? key,
  3. double size = 16,
  4. double scaleFactor = 1.5,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
})

Implementation

const CustomIcon(
  this.icon, {
  Key? key,
  this.size = 16,
  this.scaleFactor = 1.5,
  this.semanticLabel,
  this.textDirection,
}) : super(key: key);