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
  radius_all ??= 0;
  boarderRadius = BorderRadiusTools.get(
    radius_all: radius_all,
    radius_topLeft: radius_topLeft,
    radius_topRight: radius_topRight,
    radius_bottomLeft: radius_bottomLeft,
    radius_bottomRight: radius_bottomRight,
  );
}