CustomIcon constructor

const CustomIcon(
  1. IconData icon, {
  2. Key? key,
  3. double size = 16,
  4. double scaleFactor = 1.5,
  5. bool? fill,
  6. int? weight,
  7. int? grade,
  8. double? opticalSize,
  9. Color? color,
  10. List<Shadow>? shadows,
  11. String? semanticLabel,
  12. TextDirection? textDirection,
})

Implementation

const CustomIcon(
  this.icon, {
  Key? key,
  this.size = 16,
  this.scaleFactor = 1.5,
  this.fill,
  this.weight,
  this.grade,
  this.opticalSize,
  this.color,
  this.shadows,
  this.semanticLabel,
  this.textDirection,
}) : super(key: key);