DecoratedIcon constructor

const DecoratedIcon(
  1. IconData icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. List<Shadow>? shadows,
  6. String? semanticLabel,
  7. TextDirection? textDirection,
})

An icon that can be easily decorated with shadows.

Implementation

const DecoratedIcon(
  this.icon, {
  Key? key,
  this.size,
  this.color,
  this.shadows,
  this.semanticLabel,
  this.textDirection,
}) : super(key: key);