CustomIcon constructor

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

Icon 图标组件

Implementation

const CustomIcon(
  this.icon, {
  super.key,
  this.size,
  this.color,
  this.fill,
  this.weight,
  this.grade,
  this.opticalSize,
  this.shadows,
  this.semanticLabel,
  this.textDirection,
  this.applyTextScaling,
  // -------------------------------------------------------------------------------------------- >
  this.primary,
});