customSvg static method

ArcaneGlyph customSvg({
  1. required String viewBox,
  2. required List<String> paths,
  3. List<String>? pathFills,
  4. IconSize size = IconSize.md,
})

Creates one custom SVG glyph. Multiple paths remain inside one SVG mark.

Implementation

static ArcaneGlyph customSvg({
  required String viewBox,
  required List<String> paths,
  List<String>? pathFills,
  IconSize size = IconSize.md,
}) {
  assert(pathFills == null || pathFills.length == paths.length);
  return _CustomSvgIcon(
    viewBox: viewBox,
    paths: paths,
    pathFills: pathFills,
    size: size,
  );
}