GradientIcon constructor

const GradientIcon(
  1. IconData icon, {
  2. Key? key,
  3. double? size,
  4. String? semanticLabel,
  5. TextDirection? textDirection,
  6. required Gradient gradient,
})

Implementation

const GradientIcon(
  this.icon, {
  Key? key,
  this.size,
  this.semanticLabel,
  this.textDirection,
  required this.gradient,
}) : super(key: key);