getButtonStyle method
Returns a material ButtonStyle, this method makes more easy buttons styling.
Implementation
@override
AuthButtonStyle? getButtonStyle() {
if (style.buttonType == AuthButtonType.icon) {
return style.merge(
const AuthButtonStyle(),
);
}
if (style.buttonType == AuthButtonType.secondary) {
return style.merge(
const AuthButtonStyle(
separator: 24.0,
height: 40.0,
),
);
}
return style.merge(
const AuthButtonStyle(
separator: 24.0,
height: 40.0,
),
);
}