getStyle method

ButtonStyle getStyle()

Implementation

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