initValues method

void initValues()

Implementation

void initValues() {
  //check what found
  chooseUrl();
  chooseAssetName();
  initIsBoth();


  //set default color
  colorBackground ??= Colors.transparent;

  //set deafult space
  padding ??= EdgeInsets.zero;
  margin ??= EdgeInsets.zero;

  //radius
  radiusAll ??= 0;
  boarderRadius = BorderRadiusTools.get(
    radius_all: radiusAll,
    radius_topLeft: radiusTopLeft,
    radius_topRight: radiusTopRight,
    radius_bottomLeft: radiusBottomLeft,
    radius_bottomRight: radiusBottomRight,
  );
}