defaultStyle static method
Implementation
static HubbleButtonLargeStyle defaultStyle(
{TextStyle? textStyle, Color? color}) {
final HubbleTheme theme = getObject();
final buttonTextStyle = textStyle ??
theme.t13Normal15.copyWith(
color: Colors.white,
fontWeight: FontWeight.w600,
);
return HubbleButtonLargeStyle(
padding: const EdgeInsets.symmetric(horizontal: 20),
buttonStyle: ElevatedButton.styleFrom(elevation: 0),
disabledColor: Colors.grey,
color: color ?? const Color(0xFF274FF5),
width: null,
height: 48,
radius: 100,
textStyle: buttonTextStyle,
disabledTextStyle:
buttonTextStyle.copyWith(color: Colors.black.withOpacity(0.3)),
);
}