IconWidget constructor

IconWidget(
  1. IconData icon, {
  2. Key? key,
  3. double? size,
  4. Color? color,
  5. String? semanticLabel,
  6. TextDirection? textDirection,
  7. bool isVisible = true,
  8. EdgeInsetsGeometry padding = EdgeInsets.zero,
  9. double? widthFactor,
  10. double? heightFactor,
  11. BorderRadius borderRadius = BorderRadius.zero,
})

Implementation

IconWidget(
  IconData icon, {
  Key? key,
  double? size,
  Color? color,
  String? semanticLabel,
  TextDirection? textDirection,
  this.isVisible = true,
  this.padding = EdgeInsets.zero,
  this.widthFactor,
  this.heightFactor,
  this.borderRadius = BorderRadius.zero,
}) : super(icon, key: key, size: size, color: color, semanticLabel: semanticLabel, textDirection: textDirection);