flagGrdProperties top-level constant

FlagProperties const flagGrdProperties

Flag properties of country Grenada (GD).

Implementation

const flagGrdProperties = FlagProperties(
  [ColorsProperties(Color(0xff009739))],
  aspectRatio: 5 / 3,
  baseElementType: FlagElementsType.multiElement,
  isSimplified: null,
  elementsProperties: [
    ElementsProperties(
      Color(0xffFFD100),
      shape: Triangle(),
      offset: Offset(-0.075, -0.5),
      heightFactor: 1 / 2,
      widthFactor: 1.15,
      angle: 90,
    ),
    ElementsProperties(
      Color(0xffFFD100),
      shape: Triangle(),
      offset: Offset(-0.075, 1),
      heightFactor: 1 / 2,
      widthFactor: 1.15,
      angle: 270,
    ),
    ElementsProperties(
      Color(0xffEF3340),
      shape: Rectangle(aspectRatio: 1 / 7),
      offset: Offset(-1, 0),
    ),
    ElementsProperties(
      Color(0xffEF3340),
      shape: Rectangle(aspectRatio: 1 / 7),
      offset: Offset(1, 0),
    ),
    ElementsProperties(
      Color(0xffEF3340),
      shape: Rectangle(),
      offset: Offset(0, -1),
      heightFactor: 1 / 7,
      child: ElementsProperties(
        Color(0xffFFD100),
        shape: Star(),
        heightFactor: 0.9,
        child: ElementsProperties(
          Color(0xffFFD100),
          shape: Star(),
          offset: Offset(-5.45, 0.09),
          heightFactor: 1.1,
          child: ElementsProperties(
            Color(0xffFFD100),
            shape: Star(),
            offset: Offset(10.95, 0.1),
            heightFactor: 1.1,
          ),
        ),
      ),
    ),
    ElementsProperties(
      Color(0xffEF3340),
      shape: Rectangle(),
      offset: Offset(0, 1),
      heightFactor: 1 / 7,
      child: ElementsProperties(
        Color(0xffFFD100),
        shape: Star(),
        heightFactor: 0.9,
        child: ElementsProperties(
          Color(0xffFFD100),
          shape: Star(),
          offset: Offset(-5.45, 0.09),
          heightFactor: 1.1,
          child: ElementsProperties(
            Color(0xffFFD100),
            shape: Star(),
            offset: Offset(10.95, 0.1),
            heightFactor: 1.1,
          ),
        ),
      ),
    ),
    ElementsProperties(
      Color(0xffEF3340),
      shape: Ellipse(),
      heightFactor: 0.24,
      child: ElementsProperties(
        Color(0xffFFD100),
        shape: Star(),
        heightFactor: 0.9,
      ),
    ),
    ElementsProperties(
      Color(0xffFFD100),
      shape: Ellipse(),
      offset: Offset(-0.7, 0.02),
      heightFactor: 0.13,
      child: ElementsProperties(
        Color(0xffEF3340),
        shape: Ellipse(),
        offset: Offset(0.4, 0.6),
        heightFactor: 0.5,
      ),
    ),
    CustomElementsProperties(
      Color(0xffEF3340),
      otherColors: [Color(0xffFFD100)],
      offset: Offset(-0.7, 0),
      heightFactor: 0.2,
    ),
  ],
  url: "https://www.vexilla-mundi.com/grenada/grenada_sheet.png",
);