FIcon constructor

const FIcon(
  1. SvgAsset icon, {
  2. bool matchTextDirection,
  3. BoxFit fit,
  4. AlignmentGeometry alignment,
  5. bool allowDrawingOutsideViewBox,
  6. WidgetBuilder? placeholderBuilder,
  7. Clip clipBehavior,
  8. Color? color,
  9. double? size,
  10. String? semanticLabel,
  11. Key? key,
})

Creates a FIcon from a SvgAsset.

Implementation

const factory FIcon(
  SvgAsset icon, {
  bool matchTextDirection,
  BoxFit fit,
  AlignmentGeometry alignment,
  bool allowDrawingOutsideViewBox,
  WidgetBuilder? placeholderBuilder,
  Clip clipBehavior,
  Color? color,
  double? size,
  String? semanticLabel,
  Key? key,
}) = _Icon;