solidThree method

AzButton solidThree(
  1. dynamic color,
  2. dynamic colorOverlay
)

Implementation

AzButton solidThree(color, colorOverlay){
  // Color color = AzUtlis().colorPrimary;
  // Color colorOverlay = AzUtlis().colorPrimaryOverlay;
  _backgroundColor ??= MaterialStateProperty.all(color.withOpacity(0.2));
  _overlayColor ??= MaterialStateProperty.all(colorOverlay);
  // _side = MaterialStateProperty.all(BorderSide(
  //     width: 0,
  //     color: color
  // ));

  // set text property
  _textColor = color;
  _fontWeight = FontWeight.bold;

  return this;
}