toIcon method

Icon toIcon({
  1. Key? key,
  2. double? size,
  3. double? fill,
  4. double? weight,
  5. double? grade,
  6. double? opticalSize,
  7. Color? color,
  8. List<Shadow>? shadows,
  9. String? semanticLabel,
  10. TextDirection? textDirection,
  11. bool? applyTextScaling,
  12. BlendMode? blendMode,
  13. FontWeight? fontWeight,
})

Implementation

Icon toIcon({
  Key? key,
  double? size,
  double? fill,
  double? weight,
  double? grade,
  double? opticalSize,
  Color? color,
  List<Shadow>? shadows,
  String? semanticLabel,
  TextDirection? textDirection,
  bool? applyTextScaling,
  BlendMode? blendMode,
  FontWeight? fontWeight,
}) => Icon(
  this,
  key: key,
  size: size,
  fill: fill,
  weight: weight,
  grade: grade,
  opticalSize: opticalSize,
  color: color,
  shadows: shadows,
  semanticLabel: semanticLabel,
  textDirection: textDirection,
  applyTextScaling: applyTextScaling,
  blendMode: blendMode,
  fontWeight: fontWeight,
);