solidThree method
AzButton
solidThree(
- dynamic color,
- 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;
}