getStyle method
Implementation
ButtonStyle getStyle() {
return ButtonStyle(
backgroundColor: backgroundColor != null ? WidgetStateProperty.all(backgroundColor!) : null,
);
}
ButtonStyle getStyle() {
return ButtonStyle(
backgroundColor: backgroundColor != null ? WidgetStateProperty.all(backgroundColor!) : null,
);
}