playStoreBG method

BackgroundModel playStoreBG()

Implementation

BackgroundModel playStoreBG() {
  // this is a clone of _pageBG
  List<DecorationColorModel> decorationColorModels = [];
  DecorationColorModel decorationColorModel1 = DecorationColorModel(
    documentID: "1",
    color: RgbModel(r: 0xF5, g: 0xEE, b: 0xF5, opacity: 0.30),
  );
  decorationColorModels.add(decorationColorModel1);
  DecorationColorModel decorationColorModel2 = DecorationColorModel(
    documentID: "2",
    color: RgbModel(r: 0xE2, g: 0x47, b: 0x47, opacity: 0.30),
  );

  decorationColorModels.add(decorationColorModel2);
  BackgroundModel backgroundModel = BackgroundModel(
    beginGradientPosition: StartGradientPosition.topLeft,
    endGradientPosition: EndGradientPosition.bottomRight,
    decorationColors: decorationColorModels,
    border: true,
    shadow: _shadowModel(),
  );
  return backgroundModel;
}