getStyle method

ButtonStyle getStyle()

Returns the style of the matched ElevatedButton via Widget.toDiagnosticsNode

Implementation

ButtonStyle getStyle() {
  return getDiagnosticProp<ButtonStyle>('style');
}