presetRoundedRectangleShapeMap top-level constant
Implementation
const Map<String, MorphableShapeBorder> presetRoundedRectangleShapeMap = {
"RectangleAll0": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.all(DynamicRadius.zero)),
"RoundRectangleAll10": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.all(
DynamicRadius.circular(Length(10, unit: LengthUnit.percent)))),
"RoundRectangleAll25": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.all(
DynamicRadius.circular(Length(25, unit: LengthUnit.percent)))),
"RoundRectangleTLBR25": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.only(
topLeft: DynamicRadius.circular(Length(25, unit: LengthUnit.percent)),
bottomRight:
DynamicRadius.circular(Length(25, unit: LengthUnit.percent)))),
"RoundRectangleTRBL25": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.only(
topRight:
DynamicRadius.circular(Length(25, unit: LengthUnit.percent)),
bottomLeft:
DynamicRadius.circular(Length(25, unit: LengthUnit.percent)))),
"RoundRectangleTL50BL50BR50": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.only(
topLeft: DynamicRadius.circular(Length(50, unit: LengthUnit.percent)),
bottomLeft:
DynamicRadius.circular(Length(50, unit: LengthUnit.percent)),
bottomRight:
DynamicRadius.circular(Length(50, unit: LengthUnit.percent)))),
"RoundRectangleTL50BL50TR50": RoundedRectangleShapeBorder(
borderRadius: DynamicBorderRadius.only(
topLeft: DynamicRadius.circular(Length(50, unit: LengthUnit.percent)),
bottomLeft:
DynamicRadius.circular(Length(50, unit: LengthUnit.percent)),
topRight:
DynamicRadius.circular(Length(50, unit: LengthUnit.percent)))),
};