presetStarShapeMap top-level constant
Implementation
const Map<String, MorphableShapeBorder> presetStarShapeMap = {
"Star4": StarShapeBorder(corners: 4),
"Star5": StarShapeBorder(corners: 5),
"Star6": StarShapeBorder(corners: 6),
"Star8": StarShapeBorder(corners: 8),
"Star12": StarShapeBorder(corners: 12),
"Star4Rounded": StarShapeBorder(
corners: 4,
cornerRadius: Length(50, unit: LengthUnit.percent),
insetRadius: Length(50, unit: LengthUnit.percent)),
"Star6Rounded": StarShapeBorder(
corners: 6,
cornerRadius: Length(30, unit: LengthUnit.percent),
insetRadius: Length(30, unit: LengthUnit.percent)),
"Star8Rounded": StarShapeBorder(
corners: 8,
cornerRadius: Length(10, unit: LengthUnit.percent),
insetRadius: Length(10, unit: LengthUnit.percent)),
};