dangerSolid method

AzButton dangerSolid()

Implementation

AzButton dangerSolid(){
  Color color = AzUtlis().colorDanger;
  Color colorOverlay = AzUtlis().colorDangerOverlay;
  _overlayColor ??= MaterialStateProperty.all(colorOverlay);
  _foregroundColor ??= MaterialStateProperty.all(color);
  _side = MaterialStateProperty.all(BorderSide(
      width: _borderWidth,
      color: color
  ));
  return this;
}