warningSolid method

AzButton warningSolid()

Implementation

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