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