normalBtnStyle function

ButtonStyle normalBtnStyle(
  1. MuseButtonStyles style
)

Implementation

ButtonStyle normalBtnStyle(MuseButtonStyles style) {
  return _baseBtnStyle(style).copyWith(
    shape: WidgetStateProperty.all<RoundedRectangleBorder>(
      RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(style.borderType.radius),
        side: BorderSide(
          color: style.colors.borderColor,
          width: style.hairline ? 0.5 : 1.0,
        ),
      ),
    ),
    backgroundColor: Utils.getColorPressed(style.colors.bgColor),
  );
}