margin property
margin 垂直居中
category: Edit 编辑 author: 齐奉飞 tag: 布局, 排版, 垂直 rtl: false
Implementation
static IconParkData margin = IconParkData("margin", false, (props) => '<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="6" width="36" height="36" rx="3" fill="${props.c2}" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M34 6V42" stroke="${props.c3}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M14 6V42" stroke="${props.c3}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M31 42H37" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M11 42H17" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M11 6H17" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/><path d="M30 6H36" stroke="${props.c1}" stroke-width="${props.strokeWidth ?? "4"}" stroke-linecap="${props.strokeLineCap?.name ?? "round"}" stroke-linejoin="${props.strokeLineJoin?.name ?? "round"}"/></svg>');