FIcon.data constructor

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

Creates a FIcon from an IconData.

See Icon for more information.

Implementation

const factory FIcon.data(
  IconData data, {
  double fill,
  double weight,
  double grade,
  double opticalSize,
  List<Shadow> shadows,
  TextDirection textDirection,
  bool applyTextScaling,
  Color color,
  double size,
  String semanticLabel,
  Key? key,
}) = _IconDataIcon;